commit | 689a84475e7b1da79d5ae82df67ab8897316f98c | [log] [tgz] |
---|---|---|
author | andrei kulakov <andrei.avk@gmail.com> | Mon Jun 14 22:42:46 2021 -0400 |
committer | GitHub <noreply@github.com> | Mon Jun 14 19:42:46 2021 -0700 |
tree | d1016d17c2079860a0d7e4807cc728726a5295a3 | |
parent | 507ed6fa1d6661e0f8e6d3282764aa9625a99594 [diff] |
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
diff --git a/Lib/enum.py b/Lib/enum.py index 0c6d8c1..49c46ea 100644 --- a/Lib/enum.py +++ b/Lib/enum.py
@@ -79,7 +79,7 @@ """ 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)