[Python-checkins] [3.11] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH-92467)
miss-islington
webhook-mailer at python.org
Sun May 8 11:30:02 EDT 2022
https://github.com/python/cpython/commit/c35da32cded44b8931e25b3e7dc3a6d307a0377a
commit: c35da32cded44b8931e25b3e7dc3a6d307a0377a
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-05-08T08:29:58-07:00
summary:
[3.11] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH-92467)
(cherry picked from commit 5639ea1ef9ba8452f81b61ad73152bd1bf1fd3a6)
Co-authored-by: Alex Waygood <Alex.Waygood at Gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
files:
M Doc/library/doctest.rst
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index 0bbb640bea26b..30328790eefe3 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:
@@ -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 ::
More information about the Python-checkins
mailing list