mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Remove trailing >>> in enum docs (GH-21358)
The >>> as the last line serve no purpose and are not colored correctly by Sphinx.
This commit is contained in:
parent
af56c4fc76
commit
1ee5dc1586
@ -113,7 +113,6 @@ The *type* of an enumeration member is the enumeration it belongs to::
|
||||
<enum 'Color'>
|
||||
>>> isinstance(Color.GREEN, Color)
|
||||
True
|
||||
>>>
|
||||
|
||||
Enum members also have a property that contains just their item name::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user