]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 May 2022 15:29:58 +0000 (08:29 -0700)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 15:29:58 +0000 (08:29 -0700)
(cherry picked from commit 5639ea1ef9ba8452f81b61ad73152bd1bf1fd3a6)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
Doc/library/doctest.rst

index 0bbb640bea26b1f49abde73ef283d79302c734ad..30328790eefe3678534af3ed5d5a4e93d49ee238 100644 (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 ::