diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-07-15 16:13:05 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-07-15 16:13:05 +0300 |
commit | eefb633becc8ba6ae7d30c04aaa01a5740b92cbb (patch) | |
tree | 6a8d976e7b8f8426f64f6b1aa848b24363e2490a /Lib/pyclbr.py | |
parent | 771fbd629810cb7dc48e10cc7d687b313c622fbf (diff) | |
parent | e30c0dfb84728e8c3f9e2f695b64071e53e1811b (diff) | |
download | cpython-eefb633becc8ba6ae7d30c04aaa01a5740b92cbb.tar.gz |
Issue #27518: Merge from 3.5
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)] |