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.
This commit is contained in:
Guido van Rossum 1999-09-02 15:09:44 +00:00
parent 65f4a3b173
commit 183fd40987

View file

@ -176,6 +176,7 @@ class PrettyPrinter:
else:
stream.write(rep)
del context[objid]
def __repr(self, object, context, level):