(type_)
return type_.unqualified()
Return the "basic" type of a type.

    Arguments:
        type_: The type to reduce to its basic type.

    Returns:
        type_ with const/volatile is stripped away,
        and typedefs/references converted to the underlying type.
Return the "basic" type of a type.
Return the basic type of a type .
def get_basic_type(type_):
    """Return the "basic" type of a type.

    Arguments:
        type_: The type to reduce to its basic type.

    Returns:
        type_ with const/volatile is stripped away,
        and typedefs/references converted to the underlying type.
    """

    while (type_.code == gdb.TYPE_CODE_REF or
           type_.code == gdb.TYPE_CODE_TYPEDEF):
        if type_.code == gdb.TYPE_CODE_REF:
            type_ = type_.target()
        else:
            type_ = type_.strip_typedefs()
    return type_.unqualified()
def get_basic_type ( type_ ) : while ( type_ . code == gdb . TYPE_CODE_REF or type_ . code == gdb . TYPE_CODE_TYPEDEF ) : if type_ . code == gdb . TYPE_CODE_REF : type_ = type_ . target ( ) else : type_ = type_ . strip_typedefs ( ) return type_ . unqualified ( )