Commit 6d2cc9d6 authored by Denis Bilenko's avatar Denis Bilenko

remove deprecated gevent.timeout (use gevent.Timeout)

parent abd614aa
......@@ -18,9 +18,3 @@ __all__ = ['getcurrent',
from gevent.greenlet import *
from gevent import core
reinit = core.reinit
def timeout(*args, **kwargs):
import warnings
warnings.warn("timeout is deprecated; use Timeout", DeprecationWarning, stacklevel=2)
return Timeout(*args, **kwargs)
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