diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-02 18:55:56 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-02 18:55:56 (GMT) |
commit | e0d4972acc8cfd4b8fb16c074a8031e50fab0f29 (patch) | |
tree | b9a9286453c2ee4397618d4483679c3bc531f4b0 /Lib/pyclbr.py | |
parent | 1fab9ee085755ed2f7abcf28794d7c20bd51a97a (diff) | |
download | cpython-e0d4972acc8cfd4b8fb16c074a8031e50fab0f29.zip cpython-e0d4972acc8cfd4b8fb16c074a8031e50fab0f29.tar.gz cpython-e0d4972acc8cfd4b8fb16c074a8031e50fab0f29.tar.bz2 |
Replaced .keys() with dictionary iterators
Diffstat (limited to 'Lib/pyclbr.py')
-rw-r--r-- | Lib/pyclbr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index 29b8354..fad46ad 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py @@ -324,7 +324,7 @@ def readmodule_ex(module, path=[], inpackage=0): # Python does internally) # also don't add names that # start with _ - for n in d.keys(): + for n in d: if n[0] != '_' and \ not n in dict: dict[n] = d[n] |