]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
change comment
authoryouguanxinqing <youguanxinqing@qq.com>
Tue, 12 Jan 2021 01:51:27 +0000 (09:51 +0800)
committeryouguanxinqing <youguanxinqing@qq.com>
Tue, 12 Jan 2021 01:51:27 +0000 (09:51 +0800)
tornado/testing.py

index bb28103263c3b0d16dd0f83c60cb0b9dfe70ee16..0b81ea449184dbe8707b25b1ed36ef02092f2bea 100644 (file)
@@ -52,9 +52,9 @@ def bind_unused_port(
 
     Returns a tuple (socket, port).
 
-    .. versionchanged:: 4.4
-       Default binds to ``127.0.0.1`` without resolving the name
-       ``localhost``.
+    .. versionchanged:: 6.2
+       Added optional ``address`` argument to
+       override the default "127.0.0.1".
     """
     sock = netutil.bind_sockets(
         0, address, family=socket.AF_INET, reuse_port=reuse_port