Update pep-0008.txt (#1522)
This commit is contained in:
parent
ebf43452d0
commit
5b81f54bd3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue