mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Issue #29129: Fix typo in "Using auto" section
This commit is contained in:
parent
37023b64d7
commit
2a267a12ee
1 changed files with 1 additions and 1 deletions
|
|
@ -773,7 +773,7 @@ the (unimportant) value::
|
||||||
Using :class:`auto`
|
Using :class:`auto`
|
||||||
"""""""""""""""""""
|
"""""""""""""""""""
|
||||||
|
|
||||||
Using :class:`object` would look like::
|
Using :class:`auto` would look like::
|
||||||
|
|
||||||
>>> class Color(NoValue):
|
>>> class Color(NoValue):
|
||||||
... RED = auto()
|
... RED = auto()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue