Skip to content

Commit dac5124

Browse files
bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330)
(cherry picked from commit 6c48bf2) Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent f4b26f7 commit dac5124

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Doc/library/pprint.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ The :mod:`pprint` module defines one class:
3030
.. First the implementation class:
3131
3232
33+
.. index:: single: ...; placeholder
34+
3335
.. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None, *, \
3436
compact=False)
3537

Doc/library/reprlib.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ In addition to size-limiting tools, the module also provides a decorator for
4242
detecting recursive calls to :meth:`__repr__` and substituting a placeholder
4343
string instead.
4444

45+
46+
.. index:: single: ...; placeholder
47+
4548
.. decorator:: recursive_repr(fillvalue="...")
4649

4750
Decorator for :meth:`__repr__` methods to detect recursive calls within the

Doc/library/textwrap.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ hyphenated words; only then will long words be broken if necessary, unless
268268
.. versionadded:: 3.4
269269

270270

271+
.. index:: single: ...; placeholder
272+
271273
.. attribute:: placeholder
272274

273275
(default: ``' [...]'``) String that will appear at the end of the output

0 commit comments

Comments
 (0)