parameters: (typename)
return_statement: return match.group(1)
docstring: Remove generics part of the type. Assumes typename is not empty.
  
      Arguments:
        typename(string): A type such as std::my_collection<element>.
  
      Returns:
        The prefix up to the generic part, such as std::my_collection.
docstring_summary: Remove generics part of the type. Assumes typename is not empty.
docstring_tokens: Remove generics part of the type . Assumes typename is not empty .
function: def _remove_generics(typename):
      """Remove generics part of the type. Assumes typename is not empty.
  
      Arguments:
        typename(string): A type such as std::my_collection<element>.
  
      Returns:
        The prefix up to the generic part, such as std::my_collection.
      """
  
      match = re.match("^([^<]+)", typename)
      return match.group(1)
function_tokens: def _remove_generics ( typename ) : match = re . match ( "^([^<]+)" , typename ) return match . group ( 1 )