diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-02 18:55:56 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-02 18:55:56 +0000 |
commit | 8a403845e8d0d77926d795926d74f02c5453a856 (patch) | |
tree | 84bf03d633212daaf7d8cddae6887ad8ede50191 /Lib/pyclbr.py | |
parent | 48221dcb806c98622f5c78c8121af360a53b2c44 (diff) | |
download | cpython-8a403845e8d0d77926d795926d74f02c5453a856.tar.gz |
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 29b8354e4e..fad46add86 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] |