Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c5eec442
Commit
c5eec442
authored
Nov 07, 2018
by
Andrés Delfino
Committed by
Serhiy Storchaka
Nov 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a reference to the name mangling description in the tutorial to the index. (GH-10138)
parent
cdb96f45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Doc/tutorial/classes.rst
Doc/tutorial/classes.rst
+3
-0
No files found.
Doc/tutorial/classes.rst
View file @
c5eec442
...
@@ -672,6 +672,9 @@ be treated as a non-public part of the API (whether it is a function, a method
...
@@ -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
or a data member). It should be considered an implementation detail and subject
to change without notice.
to change without notice.
.. index::
pair: name; mangling
Since there is a valid use-case for class-private members (namely to avoid name
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
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
such a mechanism, called :dfn:`name mangling`. Any identifier of the form
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment