From cdd0aa759a1a25e8e98dd262d0cb7ab8002621f2 Mon Sep 17 00:00:00 2001 From: Pierre Glaser Date: Mon, 17 Jun 2019 11:41:32 +0200 Subject: [PATCH] CLN typo --- cloudpickle/cloudpickle.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloudpickle/cloudpickle.py b/cloudpickle/cloudpickle.py index b640721c9..957a0ac36 100644 --- a/cloudpickle/cloudpickle.py +++ b/cloudpickle/cloudpickle.py @@ -646,8 +646,9 @@ def save_dynamic_class(self, obj): # must be *initialized* (in an empty state) during class creation and # updated during class re-hydratation. # However, a class __dict__ is read-only, and does not support direct - # item assignement. Instead, way to update a class __dict__ is to call - # setattr(k, v) on the underlying class, which has the same effect. + # item assignement. Instead, the way to update a class __dict__ is to + # call setattr(k, v) on the underlying class, which has the same + # effect. # There is one corner case: if the __dict__ class has itself a # "__dict__" key (this means that the class likely overrides the # __dict__ property of its instances), setattr("__dict__", v) will try