]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#9451: strengthen warning about __*__ special name usage.
authorGeorg Brandl <georg@python.org>
Mon, 2 Aug 2010 19:32:43 +0000 (19:32 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 2 Aug 2010 19:32:43 +0000 (19:32 +0000)
Doc/reference/lexical_analysis.rst

index 1b8b7b5a2e2dab7d9ae3dd62c90a16be01392267..51a291eaf237d23be8f932ec24c0a45a32293e8b 100644 (file)
@@ -362,11 +362,12 @@ characters:
       information on this convention.
 
 ``__*__``
-   System-defined names.  These names are defined by the interpreter and its
-   implementation (including the standard library); applications should not expect
-   to define additional names using this convention.  The set of names of this
-   class defined by Python may be extended in future versions. See section
-   :ref:`specialnames`.
+   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
+   breakage without warning.
 
 ``__*``
    Class-private names.  Names in this category, when used within the context of a