]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Jun 2021 18:25:07 +0000 (11:25 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 18:25:07 +0000 (11:25 -0700)
(cherry picked from commit 689a84475e7b1da79d5ae82df67ab8897316f98c)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Lib/enum.py

index bf3460ca0fd43ca5a61d6da0da9e2bb8256c8490..9f9c89e8a4b268af30e0d6292472096dbc40a0cd 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)