mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Missed one instance of code-block:: text highlighting to revert.
This commit is contained in:
parent
a36a1ee4cf
commit
23a87de96f
1 changed files with 1 additions and 3 deletions
|
|
@ -754,9 +754,7 @@ Another bad idea is to print things that embed an object address, like ::
|
|||
>>> C() # the default repr() for instances embeds an address
|
||||
<__main__.C instance at 0x00AC18F0>
|
||||
|
||||
The :const:`ELLIPSIS` directive gives a nice approach for the last example:
|
||||
|
||||
.. code-block:: text
|
||||
The :const:`ELLIPSIS` directive gives a nice approach for the last example::
|
||||
|
||||
>>> C() #doctest: +ELLIPSIS
|
||||
<__main__.C instance at 0x...>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue