parameters: (self, name, element, type_=None)
docstring: Return a :class:`Label` object for the
          given :class:`.ColumnElement`.
  
          A label changes the name of an element in the columns clause of a
          ``SELECT`` statement, typically via the ``AS`` SQL keyword.
  
          This functionality is more conveniently available via the
          :meth:`.ColumnElement.label` method on :class:`.ColumnElement`.
  
          :param name: label name
  
          :param obj: a :class:`.ColumnElement`.
docstring_summary: Return a :class:`Label` object for the
          given :class:`.ColumnElement`.
docstring_tokens: Return a : class : Label object for the given : class : . ColumnElement .
function: def __init__(self, name, element, type_=None):
          """Return a :class:`Label` object for the
          given :class:`.ColumnElement`.
  
          A label changes the name of an element in the columns clause of a
          ``SELECT`` statement, typically via the ``AS`` SQL keyword.
  
          This functionality is more conveniently available via the
          :meth:`.ColumnElement.label` method on :class:`.ColumnElement`.
  
          :param name: label name
  
          :param obj: a :class:`.ColumnElement`.
  
          """
  
          if isinstance(element, Label):
              self._resolve_label = element._label
  
          while isinstance(element, Label):
              element = element.element
  
          if name:
              self.name = name
              self._resolve_label = self.name
          else:
              self.name = _anonymous_label(
                  "%%(%d %s)s" % (id(self), getattr(element, "name", "anon"))
              )
  
          self.key = self._label = self._key_label = self.name
          self._element = element
          self._type = type_
          self._proxies = [element]
function_tokens: def __init__ ( self , name , element , type_ = None ) : if isinstance ( element , Label ) : self . _resolve_label = element . _label while isinstance ( element , Label ) : element = element . element if name : self . name = name self . _resolve_label = self . name else : self . name = _anonymous_label ( "%%(%d %s)s" % ( id ( self ) , getattr ( element , "name" , "anon" ) ) ) self . key = self . _label = self . _key_label = self . name self . _element = element self . _type = type_ self . _proxies = [ element ]