Skip to content

Commit

Permalink
DOC more explicit save_global fallback comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreglaser committed Mar 27, 2019
1 parent 33bb384 commit 79e9091
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cloudpickle/cloudpickle_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,9 @@ def class_reduce(obj):
return dynamic_class_reduce(obj)

else:
# if pickle.dumps worked out fine, then simply pickle by attribute
# if pickle.dumps worked out fine, then simply fallback to the
# traditional pickle by attribute # implemented in the builtin
# `Pickler.save_global`.
return NotImplementedError


Expand Down

0 comments on commit 79e9091

Please sign in to comment.