Fix a typo in _make_class_unpicklable() docstring (GH-26729)

This commit is contained in:
andrei kulakov 2021-06-14 22:42:46 -04:00 committed by GitHub
parent 507ed6fa1d
commit 689a84475e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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)