Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/w/h/whiff-1.1/whiff/resolver.py   whiff(Download)
    # record the root ALWAYS if provided # if not known and provided
    newenv = env.copy()
    oldRoot = newenv.get(whiffenv.ROOT)
    if root is not None and oldRoot is not None:
    if root is not None:# and newenv.get(whiffenv.ROOT) is None:
        #pr "setting root", root
        newenv[whiffenv.ROOT] = root
            root = self.whiff_root_application
            if root is None and env is not None:
                root = env.get(whiffenv.ROOT)
            while root is not None and root.whiff_root_application is not None  and root!=root.whiff_root_application:
                # go all the way to the top
    if relative_url is None:
        relative_url = env[whiffenv.RESPONDING_PATH]
    root = env[whiffenv.ROOT]
    absurl = urlcomponent.resolveUrl(url, relative_url)
    env["PATH_INFO"] = ""

src/w/h/whiff-1.1/whiff/stream.py   whiff(Download)
    def middleware(**args):
        d = deferBindings(stream, {})
        if env.has_key(whiffenv.ROOT):
            root_application = env[whiffenv.ROOT]
            responding_path = env[whiffenv.TEMPLATE_PATH]