def TypeclassToString(_type):
    """
    Returns a string representation of a Python data type.
    
    Args:
        _type: Any data type or an instance of that type.
    
    Returns:
        The type of the parameter, in string, without the <class '*'> (asterisk is the data type) formatting.
    """

    typestring = str(type(_type))

    if typestring == "<class 'type'>":
        # This means that _type is a Python data type, and not an instance of that type.
        typestring = str(_type)

    # Formatting typestring to remove "<class '" and "'>" parts
    typestring = typestring.replace("<class '", "")
    typestring = typestring.replace("'>", "")

    return typestring