Skip to content

Commit 79e9091

Browse files
committed
DOC more explicit save_global fallback comment
1 parent 33bb384 commit 79e9091

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: cloudpickle/cloudpickle_fast.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,9 @@ def class_reduce(obj):
469469
return dynamic_class_reduce(obj)
470470

471471
else:
472-
# if pickle.dumps worked out fine, then simply pickle by attribute
472+
# if pickle.dumps worked out fine, then simply fallback to the
473+
# traditional pickle by attribute # implemented in the builtin
474+
# `Pickler.save_global`.
473475
return NotImplementedError
474476

475477

0 commit comments

Comments
 (0)