diff options
-rw-r--r-- | Lib/pprint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/pprint.py b/Lib/pprint.py index fdfdc43..6704f9b 100644 --- a/Lib/pprint.py +++ b/Lib/pprint.py @@ -176,7 +176,8 @@ class PrettyPrinter: else: stream.write(rep) - del context[objid] + + del context[objid] def __repr(self, object, context, level): repr, readable = _safe_repr(object, context, self.__depth, level) |