]> 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:06 +0000 (10:30 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Nov 2018 18:30:06 +0000 (10:30 -0800)
(cherry picked from commit c5eec4426d9144b2255500217d0e3ff9463d2770)

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

index 487d535e169bfd1e30ecdb0fb55bcfc243687528..914da426df3616b7a04a724d6358ba9925993c3d 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