]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a reference to the name mangling description in the tutorial to the index. (GH...
authorAndrés Delfino <adelfino@gmail.com>
Wed, 7 Nov 2018 17:59:45 +0000 (14:59 -0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Nov 2018 17:59:45 +0000 (19:59 +0200)
Doc/tutorial/classes.rst

index 7d3b823a14e035c0bdd9f489db9d9b19cd278cfa..edbc43fb1b5d01af413e38295dd3577695725c3a 100644 (file)
@@ -672,6 +672,9 @@ be treated as a non-public part of the API (whether it is a function, a method
 or a data member).  It should be considered an implementation detail and subject
 to change without notice.
 
+.. index::
+   pair: name; mangling
+
 Since there is a valid use-case for class-private members (namely to avoid name
 clashes of names with names defined by subclasses), there is limited support for
 such a mechanism, called :dfn:`name mangling`.  Any identifier of the form