From 1a4e1ddb6044c9c41190ef437adcda95be6a3b37 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Sun, 29 Jan 2023 13:13:12 +0000 Subject: [PATCH] Deprecation of bind/start is no longer forced by Python changes --- tornado/tcpserver.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.47.2