bpo-40045: Make "dunder" method documentation easier to locate (GH-19153) (GH-19198)

* issue 40045

* Update lexical_analysis.rst

Make "dunder" method documentation easier(GH-19153)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
(cherry picked from commit 5f9c131c09)

Co-authored-by: Javad Mokhtari <javadmokhtari@outlook.com>

Co-authored-by: Javad Mokhtari <javadmokhtari@outlook.com>
This commit is contained in:
Miss Islington (bot) 2020-03-27 12:15:11 -07:00 committed by GitHub
parent 9c5c497ac1
commit bb852266b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -376,11 +376,11 @@ characters:
information on this convention.
``__*__``
System-defined names. These names are defined by the interpreter and its
implementation (including the standard library). Current system names are
discussed in the :ref:`specialnames` section and elsewhere. More will likely
be defined in future versions of Python. *Any* use of ``__*__`` names, in
any context, that does not follow explicitly documented use, is subject to
System-defined names, informally known as "dunder" names. These names are
defined by the interpreter and its implementation (including the standard library).
Current system names are discussed in the :ref:`specialnames` section and elsewhere.
More will likely be defined in future versions of Python. *Any* use of ``__*__`` names,
in any context, that does not follow explicitly documented use, is subject to
breakage without warning.
``__*``