Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbc903b

Browse files
committed
Add tracker references.
1 parent 98b140c commit cbc903b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ self-reference by displaying "..." in the recursive part of the representation
997997
string.
998998

999999
To help write such :meth:`__repr__` methods, the :mod:`reprlib` module has a new
1000-
decorator, :func:`reprlib.recursive_repr`, for detecting recursive calls to
1000+
decorator, :func:`~reprlib.recursive_repr`, for detecting recursive calls to
10011001
:meth:`__repr__` and substituting a placeholder string instead:
10021002

10031003
>>> class MyList(list):
@@ -1011,7 +1011,7 @@ decorator, :func:`reprlib.recursive_repr`, for detecting recursive calls to
10111011
>>> print(m)
10121012
<'a'|'b'|'c'|...|'x'>
10131013

1014-
(Contributed by Raymond Hettinger.)
1014+
(Contributed by Raymond Hettinger in :issue:`9826` and :issue:`9840`.)
10151015

10161016
contextlib
10171017
----------

0 commit comments

Comments
 (0)