]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
authorandrei kulakov <andrei.avk@gmail.com>
Tue, 15 Jun 2021 02:42:46 +0000 (22:42 -0400)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 02:42:46 +0000 (19:42 -0700)
Lib/enum.py

index 0c6d8c1eb0e5441271603023ff3f28c0d751988d..49c46ea86dbacfa2b111fbb25c1ab588209a4a63 100644 (file)
@@ -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)