summaryrefslogtreecommitdiffstats
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorMarco Buttu <marco.buttu@gmail.com>2017-04-13 14:17:59 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-13 14:17:59 (GMT)
commit7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982 (patch)
treea36719b82f5922e0102d2a0b4bbb5686b50ba045 /Doc/library/weakref.rst
parentd1dc65dc820649e59633142a88eaf97f930963a9 (diff)
downloadcpython-7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982.zip
cpython-7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982.tar.gz
cpython-7b2491a6aa5cdc1f8f9e3fd9df91f29ee69aa982.tar.bz2
bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)
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 b02a006..40bb06a 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -478,7 +478,7 @@ the constructor when it was created.
>>> obj = Object()
>>> f = weakref.finalize(obj, callback, 1, 2, z=3)
>>> f.detach() #doctest:+ELLIPSIS
- (<__main__.Object object ...>, <function callback ...>, (1, 2), {'z': 3})
+ (<...Object object ...>, <function callback ...>, (1, 2), {'z': 3})
>>> newobj, func, args, kwargs = _
>>> assert not f.alive
>>> assert newobj is obj