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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None.

src/s/h/shiva-HEAD/receiver/core/server.py   shiva(Download)
    def error_for_code(self, code):
        primary, secondary, tertiary = str(code)
 
        primary = PRIMARY_STATUS_CODES.get(primary, "")
        secondary = SECONDARY_STATUS_CODES.get(secondary, "")

src/s/h/shiva-HEAD/analyzer/core/server.py   shiva(Download)
    def error_for_code(self, code):
        primary, secondary, tertiary = str(code)
 
        primary = PRIMARY_STATUS_CODES.get(primary, "")
        secondary = SECONDARY_STATUS_CODES.get(secondary, "")

src/l/a/lamson-1.3.4/lamson/server.py   lamson(Download)
    def error_for_code(self, code):
        primary, secondary, tertiary = str(code)
 
        primary = PRIMARY_STATUS_CODES.get(primary, "")
        secondary = SECONDARY_STATUS_CODES.get(secondary, "")

src/l/a/lamson-HEAD/lamson/server.py   lamson(Download)
    def error_for_code(self, code):
        primary, secondary, tertiary = str(code)
 
        primary = PRIMARY_STATUS_CODES.get(primary, "")
        secondary = SECONDARY_STATUS_CODES.get(secondary, "")