Kaydet (Commit) 7d180a0d authored tarafından Georg Brandl's avatar Georg Brandl

#9451: strengthen warning about __*__ special name usage.

üst 7528b9b8
...@@ -362,11 +362,12 @@ characters: ...@@ -362,11 +362,12 @@ characters:
information on this convention. information on this convention.
``__*__`` ``__*__``
System-defined names. These names are defined by the interpreter and its System-defined names. These names are defined by the interpreter and its
implementation (including the standard library); applications should not expect implementation (including the standard library). Current system names are
to define additional names using this convention. The set of names of this discussed in the :ref:`specialnames` section and elsewhere. More will likely
class defined by Python may be extended in future versions. See section be defined in future versions of Python. *Any* use of ``__*__`` names, in
:ref:`specialnames`. 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 Class-private names. Names in this category, when used within the context of a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment