def url(regex, view, kwargs=None, name=None, prefix=''):
    if isinstance(view, (list,tuple)):
        # For include(...) processing.
        urlconf_module, app_name, namespace = view
        return RegexURLResolver(regex, urlconf_module, kwargs, app_name=app_name, namespace=namespace)
    else:
        if isinstance(view, six.string_types):
            if not view:
                raise ImproperlyConfigured(regex % 'Empty URL pattern view name not permitted (for pattern %r)')
            if prefix:
                view = prefix + '.' + view
        return RegexURLPattern(regex, view, kwargs, name)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/conf/urls/__init__.py/url/swapped operands of `%`