def paramType(param_location):
    """Return type of parameter: none/named/positional."""
    if param_location == None or str(param_location) == 'none':
        return 'none'
    try:
        if int(param_location) > 0:
            return 'positional'
    except:
        pass
    return 'named'