Did I find the right examples for you? yes no

All Samples(294)  |  Call(152)  |  Derive(0)  |  Import(142)

            @wraps(func)
    def wrapper(*args, **kwargs):
        for arg in list(args) + list(six.itervalues(kwargs)):
            if isinstance(arg, Promise):
                break
        else:
            return func(*args, **kwargs)
        return lazy(func, *resultclasses)(*args, **kwargs)
        


src/h/u/hunch-sample-app-HEAD/django/template/defaultfilters.py   hunch-sample-app(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/a/p/appscale-HEAD/AppServer/lib/django-1.3/django/template/defaultfilters.py   appscale(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/a/p/appscale-HEAD/AppServer/lib/django-1.2/django/template/defaultfilters.py   appscale(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/g/o/google-app-engine-HEAD/lib/django-1.3/django/template/defaultfilters.py   google-app-engine(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/g/o/google-app-engine-HEAD/lib/django-1.2/django/template/defaultfilters.py   google-app-engine(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/l/a/latimes-appengine-template-0.022/appengine_template/google_appengine/lib/django_1_2/django/template/defaultfilters.py   latimes-appengine-template(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/n/e/neutron-drive-HEAD/google_appengine/lib/django_1_3/django/template/defaultfilters.py   neutron-drive(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/n/e/neutron-drive-HEAD/google_appengine/lib/django_1_2/django/template/defaultfilters.py   neutron-drive(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/g/a/gaeframework-2.0.10/google_appengine/lib/django_1_2/django/template/defaultfilters.py   gaeframework(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

src/m/o/MOL-HEAD/lib/google_appengine/lib/django_1_2/django/template/defaultfilters.py   MOL(Download)
    followed by a blank line becomes a paragraph break (``</p>``).
    """
    from django.utils.html import linebreaks
    autoescape = autoescape and not isinstance(value, SafeData)
    return mark_safe(linebreaks(value, autoescape))

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next