diff options
author | Javad Mokhtari <javadmokhtari@outlook.com> | 2020-03-27 19:02:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 19:02:51 (GMT) |
commit | 5f9c131c099d6675d1a9d0228497865488afd548 (patch) | |
tree | 820f9bcca2a62817c9d59fd2e96c8449db17075b /Doc/reference | |
parent | d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30 (diff) | |
download | cpython-5f9c131c099d6675d1a9d0228497865488afd548.zip cpython-5f9c131c099d6675d1a9d0228497865488afd548.tar.gz cpython-5f9c131c099d6675d1a9d0228497865488afd548.tar.bz2 |
bpo-40045: Make "dunder" method documentation easier to locate (#19153)
* issue 40045
* Update lexical_analysis.rst
Make "dunder" method documentation easier(GH-19153)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/lexical_analysis.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 7e912aa..3f42081 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -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. ``__*`` |