File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2043,15 +2043,15 @@ def _setattr_cm(obj, **kwargs):
20432043 # if the attribute is not in the instance dict it must be
20442044 # from the class level
20452045 cls_orig = getattr (type (obj ), attr )
2046- # if we are dealing with a property (but not an general descriptor)
2046+ # if we are dealing with a property (but not a general descriptor)
20472047 # we want to set the original value back.
20482048 if isinstance (cls_orig , property ):
20492049 origs [attr ] = orig
20502050 # otherwise this is _something_ we are going to shadow at
20512051 # the instance dict level from higher up in the MRO. We
20522052 # are going to assume we can delattr(obj, attr) to clean
20532053 # up after ourselves. It is possible that this code will
2054- # fail if used with an non-property custom descriptor which
2054+ # fail if used with a non-property custom descriptor which
20552055 # implements __set__ (and __delete__ does not act like a
20562056 # stack). However, this is an internal tool and we do not
20572057 # currently have any custom descriptors.
You can’t perform that action at this time.
0 commit comments