gh-92417: doctest docs: remove references to Python <3.6 (GH-92420)

This commit is contained in:
Alex Waygood 2022-05-08 14:17:23 +01:00 committed by GitHub
parent bc098cfdb7
commit 5639ea1ef9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
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:
@ -785,11 +781,6 @@ instead. Another is to do ::
>>> d
['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.
Another bad idea is to print things that embed an object address, like ::