8000 Fix a typo in _make_class_unpicklable() docstring (GH-26729) · python/cpython@689a844 · GitHub
[go: up one dir, main page]

Skip to content

Commit 689a844

Browse files
authored
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
1 parent 507ed6f commit 689a844

File tree

Collapse 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)
0