[Python-checkins] Remove trailing >>> in enum docs (GH-21358)
E-Paine
webhook-mailer at python.org
Thu Jul 9 15:18:42 EDT 2020
https://github.com/python/cpython/commit/1ee5dc15868ea0ad36800899e19a6a87170ada76
commit: 1ee5dc15868ea0ad36800899e19a6a87170ada76
branch: master
author: E-Paine <63801254+E-Paine at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-07-09T12:18:34-07:00
summary:
Remove trailing >>> in enum docs (GH-21358)
The >>> as the last line serve no purpose and are not colored correctly by Sphinx.
files:
M Doc/library/enum.rst
M Misc/ACKS
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 4b4f5eb1944cc..b327a0ad15f96 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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::
diff --git a/Misc/ACKS b/Misc/ACKS
index 641ef0cace00e..b585769608f4e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1266,6 +1266,7 @@ Richard Oudkerk
Russel Owen
Joonas Paalasmaa
Martin Packman
+Elisha Paine
Shriphani Palakodety
Julien Palard
Aviv Palivoda
More information about the Python-checkins
mailing list