From: Thomas Kluyver Date: Sun, 29 Jan 2023 13:13:12 +0000 (+0000) Subject: Deprecation of bind/start is no longer forced by Python changes X-Git-Tag: v6.3.0b1~8^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4e1ddb6044c9c41190ef437adcda95be6a3b37;p=thirdparty%2Ftornado.git Deprecation of bind/start is no longer forced by Python changes --- diff --git a/tornado/tcpserver.py b/tornado/tcpserver.py index 183aac217..deab8f2ad 100644 --- a/tornado/tcpserver.py +++ b/tornado/tcpserver.py @@ -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