From 79e9091a6970bd68fc90b3b3acaa0b882f069d71 Mon Sep 17 00:00:00 2001 From: Pierre Glaser Date: Wed, 27 Mar 2019 17:02:55 +0100 Subject: [PATCH] DOC more explicit save_global fallback comment --- cloudpickle/cloudpickle_fast.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cloudpickle/cloudpickle_fast.py b/cloudpickle/cloudpickle_fast.py index fbc1a7fe1..f1e042acb 100644 --- a/cloudpickle/cloudpickle_fast.py +++ b/cloudpickle/cloudpickle_fast.py @@ -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