def check_package_data(dist, attr, value):
    if isinstance(value,dict):
        for k,v in value.items():
            if not isinstance(k,str): break
            try: iter(v)
            except TypeError:
                break
        else:
            return
    raise DistutilsSetupError(
        attr+" must be a dictionary mapping package names to lists of "
        "wildcard patterns"
    )
UrlTemplate match method without params
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/setuptools-0.6c11/setuptools/dist.py/check_package_data--crossover with--dataset/ETHPy150Open SmartTeleMax/iktomi/tests/web/url_template.py/UrlTemplateTests.test_match_without_params