]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Deprecation of bind/start is no longer forced by Python changes
authorThomas Kluyver <thomas@kluyver.me.uk>
Sun, 29 Jan 2023 13:13:12 +0000 (13:13 +0000)
committerThomas Kluyver <thomas@kluyver.me.uk>
Thu, 9 Feb 2023 08:38:59 +0000 (08:38 +0000)
tornado/tcpserver.py

index 183aac21777d4d3fff7b2430061ecacdca086d17..deab8f2ad99cba048939760ad1c82be1730d000b 100644 (file)
@@ -246,9 +246,7 @@ class TCPServer(object):
 
         .. deprecated:: 6.2
            Use either ``listen()`` or ``add_sockets()`` instead of ``bind()``
-           and ``start()``. The ``bind()/start()`` pattern depends on
-           interfaces that have been deprecated in Python 3.10 and will be
-           removed in future versions of Python.
+           and ``start()``.
         """
         sockets = bind_sockets(
             port,
@@ -295,9 +293,7 @@ class TCPServer(object):
 
         .. deprecated:: 6.2
            Use either ``listen()`` or ``add_sockets()`` instead of ``bind()``
-           and ``start()``. The ``bind()/start()`` pattern depends on
-           interfaces that have been deprecated in Python 3.10 and will be
-           removed in future versions of Python.
+           and ``start()``.
         """
         assert not self._started
         self._started = True