Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def isAString(x):
    return isinstance(x, str) or isinstance(x, unicode)
        


src/w/h/whiff-1.1/whiff/middleware/misc.py   whiff(Download)
            string_or_page = jsonParse.format(string_or_page)
            pt = type(string_or_page)
        if whiffenv.isAString(string_or_page):
            headers = self.derive_headers(default_mime)
            #pr "deliver page starting response for string sequence", start_response