diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-25 00:12:32 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-25 00:12:32 +0300 |
commit | 0c19540a2ab8e5204fc1a49e55699c0db70b8632 (patch) | |
tree | 1c24748ea4e55ecfa801a67888ce1c3baf9a2f06 /Lib/pyclbr.py | |
parent | d18be2a1b5fdeec3fcf242baa011e81cf04d5053 (diff) | |
download | cpython-0c19540a2ab8e5204fc1a49e55699c0db70b8632.tar.gz |
Removed unused imports.
Diffstat (limited to 'Lib/pyclbr.py')
-rw-r--r-- | Lib/pyclbr.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index 4d40b87f16..d7dba97618 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py @@ -40,12 +40,10 @@ Instances of this class have the following instance variables: """ import io -import os import sys import importlib.util import tokenize from token import NAME, DEDENT, OP -from operator import itemgetter __all__ = ["readmodule", "readmodule_ex", "Class", "Function"] @@ -328,6 +326,7 @@ def _getname(g): def _main(): # Main program for testing. import os + from operator import itemgetter mod = sys.argv[1] if os.path.exists(mod): path = [os.path.dirname(mod)] |