diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-27 00:06:54 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-27 00:06:54 (GMT) |
commit | 8b5eb2f813b8e22e97308c18a61f1824f962604c (patch) | |
tree | 109ec6b39ded605baffc1a676ceaa20a5ef2e415 /Lib | |
parent | 528d9f6ead819aff0862f5a7ce1574da13689c75 (diff) | |
download | cpython-8b5eb2f813b8e22e97308c18a61f1824f962604c.zip cpython-8b5eb2f813b8e22e97308c18a61f1824f962604c.tar.gz cpython-8b5eb2f813b8e22e97308c18a61f1824f962604c.tar.bz2 |
Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
conversion.
(Patch reviewed by David Murray.)
Diffstat (limited to 'Lib')
-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 c87ec66..52cbdd5 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py @@ -325,7 +325,7 @@ def _main(): else: path = [] dict = readmodule_ex(mod, path) - objs = dict.values() + objs = list(dict.values()) objs.sort(key=lambda a: getattr(a, 'lineno', 0)) for obj in objs: if isinstance(obj, Class): |