summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/weakref.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 40bb06a..b9e887c 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -492,7 +492,7 @@ is still alive. For instance
>>> obj = Object()
>>> weakref.finalize(obj, print, "obj dead or exiting") #doctest:+ELLIPSIS
<finalize object at ...; for 'Object' at ...>
- >>> exit() #doctest:+SKIP
+ >>> del obj
obj dead or exiting