Skip to content

Commit 8c963d3

Browse files
authored
Never use an existing enum module. (#168)
* Never use an existing enum module. * Add comment.
1 parent 3398369 commit 8c963d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

st3/sublime_lib/_compat/enum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
try:
1+
if False: # For MyPy only
22
from enum import * # noqa: F401, F403
3-
except ImportError:
3+
else:
44
from ..vendor.python.enum import * # type: ignore # noqa: F401, F403

0 commit comments

Comments
 (0)