Skip to content

Add Examples for private name mangling #148423

@ghost

Description

Documentation

Documentation

The page at https://docs.python.org/3/tutorial/classes.html does not contain an example to explain private name mangling under the "Private Variables" section. Adding a simple example that explains the change in variable and method names could be helpful.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions