Commit 29fdba88 authored by Denis Bilenko's avatar Denis Bilenko

gevent/__init__.py: add reinit to __all__

also, make core available as an attribute on gevent, so that the following works:
import gevent; gevent.core.something
parent 5206a71f
......@@ -10,11 +10,14 @@ __all__ = ['getcurrent',
'sleep',
'signal',
'with_timeout',
'fork']
'fork',
'reinit']
# add here Queue, Event, Pipe?, Socket?
from gevent.greenlet import *
from gevent import core
reinit = core.reinit
def 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