From ccd047ea4b92f09a84b67e69deb82ce42e510c4c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 25 Apr 2016 00:12:32 +0300 Subject: Removed unused imports. --- Lib/pyclbr.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/pyclbr.py') diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index 4d40b87f164..d7dba976185 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)] -- cgit v1.2.3