mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330)
This commit is contained in:
parent
6b73bb523a
commit
6c48bf2d9e
3 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,9 @@ In addition to size-limiting tools, the module also provides a decorator for
|
|||
detecting recursive calls to :meth:`__repr__` and substituting a placeholder
|
||||
string instead.
|
||||
|
||||
|
||||
.. index:: single: ...; placeholder
|
||||
|
||||
.. decorator:: recursive_repr(fillvalue="...")
|
||||
|
||||
Decorator for :meth:`__repr__` methods to detect recursive calls within the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue