Skip to content

bpo-9842: Add references for using "..." as a placeholder to the index. #10330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/library/pprint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ The :mod:`pprint` module defines one class:
.. First the implementation class:


.. index:: single: ...; placeholder

.. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None, *, \
compact=False)

Expand Down
3 changes: 3 additions & 0 deletions Doc/library/reprlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/textwrap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ hyphenated words; only then will long words be broken if necessary, unless
.. versionadded:: 3.4


.. index:: single: ...; placeholder

.. attribute:: placeholder

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