Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

src/j/2/j25framework-0.5.8/j25/web.py   j25framework(Download)
from j25.http import HttpResponse
from j25.http.contenttype import contenttype
from j25.http.formatters import MAPPING
from mako import exceptions
from mako.lookup import TemplateLookup
        if format:
            #formatter specified
            if format not in MAPPING:
                start_response(HttpExceptions.NOTFOUND, [('Content-Type', 'text/plain; charset=UTF-8')])
                return [HttpExceptions.NOTFOUND + ": No formatter defined for %s" % (environ['PATH_INFO'])]