We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typing.Coroutine
1 parent ed1d524 commit fa4729eCopy full SHA for fa4729e
saltyrtc/server/events.py
@@ -11,8 +11,11 @@
11
try:
12
from typing import Coroutine
13
except ImportError:
14
- # noinspection PyUnresolvedReferences,PyPackageRequirements
15
- from backports_abc import Coroutine
+ try:
+ from collections.abc import Coroutine # Python 3.5
16
+ except ImportError:
17
+ # noinspection PyUnresolvedReferences,PyPackageRequirements
18
+ from backports_abc import Coroutine # Python 3.4
19
20
__all__ = (
21
'DisconnectedData',
0 commit comments