Kaydet (Commit) 8b5eb2f8 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Issue #11020: Command-line pyclbr was broken because of missing 2-to-3

conversion.

(Patch reviewed by David Murray.)
üst 528d9f6e
......@@ -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):
......
......@@ -16,6 +16,9 @@ Core and Builtins
Library
-------
- Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
conversion.
- Issue #11019: Fixed BytesGenerator so that it correctly handles a Message
with a None body.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment