summaryrefslogtreecommitdiffstats
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-04-11 08:53:49 (GMT)
committerGitHub <noreply@github.com>2019-04-11 08:53:49 (GMT)
commit57b1a2862a99677f09614e9e456d36aae9ddd87c (patch)
treea1310de3c8d8a0b0c22cd030cb77f463c39a18b1 /Doc/library/weakref.rst
parentadff01e81d291c698581eadd693caa43ae5c78ac (diff)
downloadcpython-57b1a2862a99677f09614e9e456d36aae9ddd87c.zip
cpython-57b1a2862a99677f09614e9e456d36aae9ddd87c.tar.gz
cpython-57b1a2862a99677f09614e9e456d36aae9ddd87c.tar.bz2
bpo-36597: fix random doctest failure (GH-12776)
Diffstat (limited to 'Doc/library/weakref.rst')
-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