@@ -2448,15 +2448,16 @@ def _invalidate_internal(self, value, invalidating_node):
24482448
24492449 def __eq__ (self , other ):
24502450 if isinstance (other , (CompositeGenericTransform , CompositeAffine2D )):
2451- return self is other or (self ._a == other ._a and self ._b == other ._b )
2451+ return self is other or (self ._a == other ._a
2452+ and self ._b == other ._b )
24522453 else :
24532454 return False
24542455
24552456 def _iter_break_from_left_to_right (self ):
2456- for lh_compliment , rh_compliment in self ._a ._iter_break_from_left_to_right ():
2457- yield lh_compliment , rh_compliment + self ._b
2458- for lh_compliment , rh_compliment in self ._b ._iter_break_from_left_to_right ():
2459- yield self ._a + lh_compliment , rh_compliment
2457+ for left , right in self ._a ._iter_break_from_left_to_right ():
2458+ yield left , right + self ._b
2459+ for left , right in self ._b ._iter_break_from_left_to_right ():
2460+ yield self ._a + left , right
24602461
24612462 @property
24622463 def depth (self ):
@@ -2557,10 +2558,10 @@ def depth(self):
25572558 return self ._a .depth + self ._b .depth
25582559
25592560 def _iter_break_from_left_to_right (self ):
2560- for lh_compliment , rh_compliment in self ._a ._iter_break_from_left_to_right ():
2561- yield lh_compliment , rh_compliment + self ._b
2562- for lh_compliment , rh_compliment in self ._b ._iter_break_from_left_to_right ():
2563- yield self ._a + lh_compliment , rh_compliment
2561+ for left , right in self ._a ._iter_break_from_left_to_right ():
2562+ yield left , right + self ._b
2563+ for left , right in self ._b ._iter_break_from_left_to_right ():
2564+ yield self ._a + left , right
25642565
25652566 def __str__ (self ):
25662567 return ("{}(\n "
0 commit comments