]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove trailing >>> in enum docs (GH-21358)
authorE-Paine <63801254+E-Paine@users.noreply.github.com>
Thu, 9 Jul 2020 19:18:34 +0000 (21:18 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2020 19:18:34 +0000 (12:18 -0700)
The >>> as the last line serve no purpose and are not colored correctly by Sphinx.

Doc/library/enum.rst
Misc/ACKS

index 4b4f5eb1944cc572c3399894b52486f9456d203f..b327a0ad15f96c940ebfee6aeeecbd7d712989f3 100644 (file)
@@ -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::
 
index 641ef0cace00e2f9588ca647cec0e0c50299001d..b585769608f4e985a360ca91e40f7cb9f22ebd47 100644 (file)
--- 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