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.
1 parent 7de4cff commit e3d12e1Copy full SHA for e3d12e1
libmodernize/__init__.py
@@ -8,7 +8,7 @@
8
__version__ = "0.8.1.dev0"
9
10
11
-def check_future_import(node):
+def _check_future_import(node):
12
"""If this is a future import, return set of symbols that are imported,
13
else return None."""
14
# node should be the import statement here
@@ -64,7 +64,7 @@ def add_future(node, symbol):
64
):
65
# skip over docstring
66
continue
67
- names = check_future_import(node)
+ names = _check_future_import(node)
68
if not names:
69
# not a future statement; need to insert before this
70
break
0 commit comments