Skip to content

Commit 1102057

Browse files
committed
zulip_bots: Make typing import work in Python 3.5.
See python/mypy#1838.
1 parent 29e22c2 commit 1102057

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zulip_bots/zulip_bots/run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
from types import ModuleType
1010
from importlib import import_module
1111
from os.path import basename, splitext
12-
from typing import Any, Optional, Text
12+
13+
if False:
14+
from typing import Any, Optional, Text
1315

1416
from zulip_bots.lib import (
1517
run_message_handler_for_bot,

0 commit comments

Comments
 (0)