Skip to content

Commit cdd0aa7

Browse files
committed
CLN typo
1 parent 8ab2f83 commit cdd0aa7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cloudpickle/cloudpickle.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,9 @@ def save_dynamic_class(self, obj):
646646
# must be *initialized* (in an empty state) during class creation and
647647
# updated during class re-hydratation.
648648
# However, a class __dict__ is read-only, and does not support direct
649-
# item assignement. Instead, way to update a class __dict__ is to call
650-
# setattr(k, v) on the underlying class, which has the same effect.
649+
# item assignement. Instead, the way to update a class __dict__ is to
650+
# call setattr(k, v) on the underlying class, which has the same
651+
# effect.
651652
# There is one corner case: if the __dict__ class has itself a
652653
# "__dict__" key (this means that the class likely overrides the
653654
# __dict__ property of its instances), setattr("__dict__", v) will try

0 commit comments

Comments
 (0)