summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-15 18:25:07 (GMT)
committerGitHub <noreply@github.com>2021-06-15 18:25:07 (GMT)
commitf6cf38c8e2240c6dd94664d8dffd8ff42cacbc42 (patch)
tree2504edc8842ac089af8a6523cebf8e2bd78bde4a
parentc3b776f83b4c765da6d7b8854e844e07bd33c375 (diff)
downloadcpython-f6cf38c8e2240c6dd94664d8dffd8ff42cacbc42.zip
cpython-f6cf38c8e2240c6dd94664d8dffd8ff42cacbc42.tar.gz
cpython-f6cf38c8e2240c6dd94664d8dffd8ff42cacbc42.tar.bz2
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
(cherry picked from commit 689a84475e7b1da79d5ae82df67ab8897316f98c) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
-rw-r--r--Lib/enum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index bf3460c..9f9c89e 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -79,7 +79,7 @@ def _make_class_unpicklable(obj):
"""
Make the given obj un-picklable.
- obj should be either a dictionary, on an Enum
+ obj should be either a dictionary, or an Enum
"""
def _break_on_call_reduce(self, proto):
raise TypeError('%r cannot be pickled' % self)