From a530cdc7f74d8a19dab6c677a3ac25e45fea1e01 Mon Sep 17 00:00:00 2001 From: Mehrdad Moradizadeh Date: Sat, 3 Sep 2022 15:22:35 -0400 Subject: [PATCH 1/2] changing limition to limitation --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 163ac704138927e..db4ffb188fca0f5 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -5535,7 +5535,7 @@ Verification: Affected APIs ------------- -The limition only applies to potentially slow conversions between :class:`int` +The limitation only applies to potentially slow conversions between :class:`int` and :class:`str` or :class:`bytes`: * ``int(string)`` with default base 10. From 23de451b29cf7a286267c8ab824adab0d72bc201 Mon Sep 17 00:00:00 2001 From: Mehrdad Moradizadeh Date: Mon, 12 Sep 2022 17:06:45 -0400 Subject: [PATCH 2/2] making the socket.create_server docs consistent with socket.listen --- Doc/library/socket.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index f97c4f670016334..f8278161ac45bb9 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -764,8 +764,8 @@ The following functions all create :ref:`socket objects `. ``(host, port)``) and returns the socket object. *family* should be either :data:`AF_INET` or :data:`AF_INET6`. - *backlog* is the queue size passed to :meth:`socket.listen`; when ``0`` - a default reasonable value is chosen. + *backlog* is the queue size passed to :meth:`socket.listen`; if not specified + , a default reasonable value is chosen. *reuse_port* dictates whether to set the :data:`SO_REUSEPORT` socket option. If *dualstack_ipv6* is true and the platform supports it the socket will