Skip to content

Commit

Permalink
CLN typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreglaser committed Jun 17, 2019
1 parent 8ab2f83 commit cdd0aa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cloudpickle/cloudpickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdd0aa7

Please sign in to comment.