Skip to content

Commit f6cf38c

Browse files
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
(cherry picked from commit 689a844) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
1 parent c3b776f commit f6cf38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _make_class_unpicklable(obj):
7979
"""
8080
Make the given obj un-picklable.
8181
82-
obj should be either a dictionary, on an Enum
82+
obj should be either a dictionary, or an Enum
8383
"""
8484
def _break_on_call_reduce(self, proto):
8585
raise TypeError('%r cannot be pickled' % self)

0 commit comments

Comments
 (0)