(self)
Returns a generator of `+=`, `=`, etc. or None if there is no operation.
Returns a generator of `+=`, `=`, etc. or None if there is no operation.
Returns a generator of + = = etc . or None if there is no operation .
def yield_operators(self):
        """
        Returns a generator of `+=`, `=`, etc. or None if there is no operation.
        """
        first = self.children[1]
        if first.type == 'annassign':
            if len(first.children) <= 2:
                return  # No operator is available, it's just PEP 484.

            first = first.children[2]
        yield first

        for operator in self.children[3::2]:
            yield operator
def yield_operators ( self ) : first = self . children [ 1 ] if first . type == 'annassign' : if len ( first . children ) <= 2 : return # No operator is available, it's just PEP 484. first = first . children [ 2 ] yield first for operator in self . children [ 3 : : 2 ] : yield operator