Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b127a38

Browse files
authoredJul 1, 2021
Update cloudpickle/cloudpickle_fast.py
1 parent c295f5d commit b127a38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎cloudpickle/cloudpickle_fast.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -441,18 +441,18 @@ def _odict_keys_reduce(obj):
441441
# Safer not to ship the full dict as sending the rest might
442442
# be unintended and could potentially cause leaking of
443443
# sensitive information
444-
return _make_dict_keys, (list(obj), True)
444+
return _make_dict_keys, (list(obj), is_ordered=True)
445445

446446

447447
def _odict_values_reduce(obj):
448448
# Safer not to ship the full dict as sending the rest might
449449
# be unintended and could potentially cause leaking of
450450
# sensitive information
451-
return _make_dict_values, (list(obj), True)
451+
return _make_dict_values, (list(obj), is_ordered=True)
452452

453453

454454
def _odict_items_reduce(obj):
455-
return _make_dict_items, (dict(obj), True)
455+
return _make_dict_items, (dict(obj), is_ordered=True)
456456

457457

458458
# COLLECTIONS OF OBJECTS STATE SETTERS

0 commit comments

Comments
 (0)
Please sign in to comment.