mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #27125: Remove duplicated words from documentation and comments
This commit is contained in:
parent
f45d27bcc3
commit
a90a4a9651
17 changed files with 20 additions and 21 deletions
|
|
@ -314,8 +314,8 @@ Then::
|
|||
>>> str(Mood.funky)
|
||||
'my custom str! 1'
|
||||
|
||||
The rules for what is allowed are as follows: names that start and end with a
|
||||
with a single underscore are reserved by enum and cannot be used; all other
|
||||
The rules for what is allowed are as follows: names that start and end with
|
||||
a single underscore are reserved by enum and cannot be used; all other
|
||||
attributes defined within an enumeration will become members of this
|
||||
enumeration, with the exception of special methods (:meth:`__str__`,
|
||||
:meth:`__add__`, etc.) and descriptors (methods are also descriptors).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue