parameters: (self, name, value)
docstring: Add operation attribute.
docstring_summary: Add operation attribute.
docstring_tokens: Add operation attribute .
function: def add_attr(self, name, value):
      """Add operation attribute."""
      if type(value) is bool:
        if value == True: value = 1
        elif value == False: value = 0
      self.attrs[name] = str(value)
function_tokens: def add_attr ( self , name , value ) : if type ( value ) is bool : if value == True : value = 1 elif value == False : value = 0 self . attrs [ name ] = str ( value )