From: andrei kulakov Date: Tue, 15 Jun 2021 02:42:46 +0000 (-0400) Subject: Fix a typo in _make_class_unpicklable() docstring (GH-26729) X-Git-Tag: v3.11.0a1~858 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=689a84475e7b1da79d5ae82df67ab8897316f98c;p=thirdparty%2FPython%2Fcpython.git Fix a typo in _make_class_unpicklable() docstring (GH-26729) --- diff --git a/Lib/enum.py b/Lib/enum.py index 0c6d8c1eb0e5..49c46ea86dba 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)