.. First the implementation class:
+.. index:: single: ...; placeholder
+
.. class:: PrettyPrinter(indent=1, width=80, depth=None, stream=None, *, \
compact=False)
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
.. versionadded:: 3.4
+ .. index:: single: ...; placeholder
+
.. attribute:: placeholder
(default: ``' [...]'``) String that will appear at the end of the output