parameters: (self, name=None)
docstring: Shortcut for :class:`setResultsName`, with ``listAllMatches=False``.
  
          If ``name`` is given with a trailing ``'*'`` character, then ``listAllMatches`` will be
          passed as ``True``.
  
          If ``name` is omitted, same as calling :class:`copy`.
  
          Example::
  
              # these are equivalent
              userdata = Word(alphas).setResultsName("name") + Word(nums+"-").setResultsName("socsecno")
              userdata = Word(alphas)("name") + Word(nums+"-")("socsecno")
docstring_summary: Shortcut for :class:`setResultsName`, with ``listAllMatches=False``.
docstring_tokens: Shortcut for : class : setResultsName with listAllMatches = False .
function: def __call__(self, name=None):
          """
          Shortcut for :class:`setResultsName`, with ``listAllMatches=False``.
  
          If ``name`` is given with a trailing ``'*'`` character, then ``listAllMatches`` will be
          passed as ``True``.
  
          If ``name` is omitted, same as calling :class:`copy`.
  
          Example::
  
              # these are equivalent
              userdata = Word(alphas).setResultsName("name") + Word(nums+"-").setResultsName("socsecno")
              userdata = Word(alphas)("name") + Word(nums+"-")("socsecno")
          """
          if name is not None:
              return self.setResultsName(name)
          else:
              return self.copy()
function_tokens: def __call__ ( self , name = None ) : if name is not None : return self . setResultsName ( name ) else : return self . copy ( )