parameters: (gdb_type)
return_statement: return result
docstring: Returns a pretty name for the type, or None if no name can be found.
  
      Arguments:
        gdb_type(gdb.Type): A type object.
  
      Returns:
        A string, without type_defs, libc++ namespaces, and common substitutions
        applied.
docstring_summary: Returns a pretty name for the type, or None if no name can be found.
docstring_tokens: Returns a pretty name for the type or None if no name can be found .
function: def _prettify_typename(gdb_type):
      """Returns a pretty name for the type, or None if no name can be found.
  
      Arguments:
        gdb_type(gdb.Type): A type object.
  
      Returns:
        A string, without type_defs, libc++ namespaces, and common substitutions
        applied.
      """
  
      type_without_typedefs = gdb_type.strip_typedefs()
      typename = type_without_typedefs.name or type_without_typedefs.tag or \
          str(type_without_typedefs)
      result = _remove_cxx_namespace(typename)
      for find_str, subst_str in _common_substitutions:
          result = re.sub(find_str, subst_str, result)
      return result
function_tokens: def _prettify_typename ( gdb_type ) : type_without_typedefs = gdb_type . strip_typedefs ( ) typename = type_without_typedefs . name or type_without_typedefs . tag or str ( type_without_typedefs ) result = _remove_cxx_namespace ( typename ) for find_str , subst_str in _common_substitutions : result = re . sub ( find_str , subst_str , result ) return result