parameters: (self, other)
return_statement: return False
docstring: Checks that the IR contained within is equal to the IR in other.
          Equality is defined by being equal in fundamental structure (blocks,
          labels, IR node type and the order in which they are defined) and the
          IR nodes being equal. IR node equality essentially comes down to
          ensuring a node's `.__dict__` or `.__slots__` is equal, with the
          exception of ignoring 'loc' and 'scope' entries. The upshot is that the
          comparison is essentially location and scope invariant, but otherwise
          behaves as unsurprisingly as possible.
docstring_summary: Checks that the IR contained within is equal to the IR in other.
          Equality is defined by being equal in fundamental structure (blocks,
          labels, IR node type and the order in which they are defined) and the
          IR nodes being equal. IR node equality essentially comes down to
          ensuring a node's `.__dict__` or `.__slots__` is equal, with the
          exception of ignoring 'loc' and 'scope' entries. The upshot is that the
          comparison is essentially location and scope invariant, but otherwise
          behaves as unsurprisingly as possible.
docstring_tokens: Checks that the IR contained within is equal to the IR in other . Equality is defined by being equal in fundamental structure ( blocks labels IR node type and the order in which they are defined ) and the IR nodes being equal . IR node equality essentially comes down to ensuring a node s . __dict__ or . __slots__ is equal with the exception of ignoring loc and scope entries . The upshot is that the comparison is essentially location and scope invariant but otherwise behaves as unsurprisingly as possible .
function: def equal_ir(self, other):
          """ Checks that the IR contained within is equal to the IR in other.
          Equality is defined by being equal in fundamental structure (blocks,
          labels, IR node type and the order in which they are defined) and the
          IR nodes being equal. IR node equality essentially comes down to
          ensuring a node's `.__dict__` or `.__slots__` is equal, with the
          exception of ignoring 'loc' and 'scope' entries. The upshot is that the
          comparison is essentially location and scope invariant, but otherwise
          behaves as unsurprisingly as possible.
          """
          if type(self) is type(other):
              return self.blocks == other.blocks
          return False
function_tokens: def equal_ir ( self , other ) : if type ( self ) is type ( other ) : return self . blocks == other . blocks return False