Update pep-0008.txt (#1522)

This commit is contained in:
wyz23x2 2020-07-11 22:39:44 +08:00 committed by GitHub
parent ebf43452d0
commit 5b81f54bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ case convention):
- ``single_trailing_underscore_``: used by convention to avoid
conflicts with Python keyword, e.g. ::
Tkinter.Toplevel(master, class_='ClassName')
tkinter.Toplevel(master, class_='ClassName')
- ``__double_leading_underscore``: when naming a class attribute,
invokes name mangling (inside class FooBar, ``__boo`` becomes