Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e11316a

Browse files
tacaswellQuLogic
andauthored
DOC: correct grammar in comments
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 2706fa6 commit e11316a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/cbook/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)