Browse Source

updated public symbols

pull/71/head
Miguel Grinberg 8 years ago
parent
commit
3556c3e7ce
  1. 2
      socketio/__init__.py

2
socketio/__init__.py

@ -10,6 +10,7 @@ from .server import Server
from .namespace import Namespace
if sys.version_info >= (3, 5): # pragma: no cover
from .asyncio_server import AsyncServer
from .asyncio_namespace import AsyncNamespace
else: # pragma: no cover
AsyncServer = None
@ -20,3 +21,4 @@ __all__ = ['__version__', 'Middleware', 'Server', 'BaseManager',
'Namespace']
if AsyncServer is not None: # pragma: no cover
__all__.append('AsyncServer')
__all__.append('AsyncNamespace')

Loading…
Cancel
Save