From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 8 May 2022 15:29:50 +0000 (-0700) Subject: [3.10] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH... X-Git-Tag: v3.10.5~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45ed69b200e4de61fc469da3091da7c1fe0b0f39;p=thirdparty%2FPython%2Fcpython.git [3.10] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH-92468) (cherry picked from commit 5639ea1ef9ba8452f81b61ad73152bd1bf1fd3a6) Co-authored-by: Alex Waygood Automerge-Triggered-By: GH:serhiy-storchaka --- diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index a77322f83acb..146fa5e775be 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -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: @@ -786,11 +782,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 ::