]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a reference to the name mangling description in the tutorial to the index. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Nov 2018 18:30:12 +0000 (10:30 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Nov 2018 18:30:12 +0000 (10:30 -0800)
(cherry picked from commit c5eec4426d9144b2255500217d0e3ff9463d2770)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/tutorial/classes.rst

index 9935ccb92725bf2e24794f30215d5c27cd9d9add..b17e150cff046e5de41270d592cf9e96c6304c83 100644 (file)
@@ -620,6 +620,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