mirror of https://github.com/python/cpython.git
[3.10] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH-92468)
(cherry picked from commit 5639ea1ef9
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
This commit is contained in:
parent
f40731fb51
commit
45ed69b200
|
@ -288,10 +288,6 @@ strings are treated as if they were docstrings. In output, a key ``K`` in
|
||||||
Any classes found are recursively searched similarly, to test docstrings in
|
Any classes found are recursively searched similarly, to test docstrings in
|
||||||
their contained methods and nested classes.
|
their contained methods and nested classes.
|
||||||
|
|
||||||
.. impl-detail::
|
|
||||||
Prior to version 3.4, extension modules written in C were not fully
|
|
||||||
searched by doctest.
|
|
||||||
|
|
||||||
|
|
||||||
.. _doctest-finding-examples:
|
.. _doctest-finding-examples:
|
||||||
|
|
||||||
|
@ -786,11 +782,6 @@ instead. Another is to do ::
|
||||||
>>> d
|
>>> d
|
||||||
['Harry', 'Hermione']
|
['Harry', 'Hermione']
|
||||||
|
|
||||||
.. note::
|
|
||||||
|
|
||||||
Before Python 3.6, when printing a dict, Python did not guarantee that
|
|
||||||
the key-value pairs was printed in any particular order.
|
|
||||||
|
|
||||||
There are others, but you get the idea.
|
There are others, but you get the idea.
|
||||||
|
|
||||||
Another bad idea is to print things that embed an object address, like ::
|
Another bad idea is to print things that embed an object address, like ::
|
||||||
|
|
Loading…
Reference in New Issue