mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Fix a typo in _make_class_unpicklable() docstring (GH-26729)
This commit is contained in:
parent
507ed6fa1d
commit
689a84475e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue