Kaydet (Commit) 183fd409 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix indent error in __format(): del context[objid] at the end should

be executed in all cases, not just when it's not a list, tuple or
dict.  Discovered by Christian Tismer.
üst 65f4a3b1
......@@ -176,6 +176,7 @@ class PrettyPrinter:
else:
stream.write(rep)
del context[objid]
def __repr(self, object, context, level):
......
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