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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D

src/n/u/nupic-linux64-HEAD/lib/python2.6/site-packages/py/_log/warning.py   nupic-linux64(Download)
        lineno=warning.lineno,
        registry=py.std.warnings.__dict__.setdefault(
            "__warningsregistry__", {})
    )
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/log/warning.py   plexnet(Download)
        lineno=warning.lineno,
        registry=py.std.warnings.__dict__.setdefault(
            "__warningsregistry__", {})
    )
 

src/p/y/py-1.4.20/py/_log/warning.py   py(Download)
        lineno=warning.lineno,
        registry=py.std.warnings.__dict__.setdefault(
            "__warningsregistry__", {})
    )