Commit ef4f064c authored by Denis Bilenko's avatar Denis Bilenko

update deprecation warning for socket.tcp_server

parent 9947cc65
......@@ -523,7 +523,7 @@ def tcp_server(listensocket, server, *args, **kw):
The keyword arguments to pass to *server*.
"""
import warnings
warnings.warn("gevent.socket.tcp_server is deprecated", DeprecationWarning, stacklevel=2)
warnings.warn("gevent.socket.tcp_server is deprecated by gevent.server.StreamServer", DeprecationWarning, stacklevel=2)
try:
try:
while True:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment