Skip to content

[3.11] gh-92417: doctest docs: remove references to Python <3.6 (GH-92420) #92467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions Doc/library/doctest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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 ::
Expand Down