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)
        # environment is always fresh, modification in place is okay (?)
        #pr "resolve gave", (app, responding_path, path_remainder)
        env[whiffenv.RESPONDING_PATH] = responding_path
        env[whiffenv.PATH_REMAINDER] = path_remainder
        # xxxx environment additions to support repoze.who -- need to know the top level page entry path information
    env = env.copy()
    if relative_url is None:
        relative_url = env[whiffenv.RESPONDING_PATH]
    root = env[whiffenv.ROOT]
    absurl = urlcomponent.resolveUrl(url, relative_url)
        #pr "path_remainder "+repr(env.get(whiffenv.PATH_REMAINDER))+"<br>\n"
        #pr "env", "\n".join(map(repr, env.items()))
        responding_path = env.get(whiffenv.RESPONDING_PATH)
        path_remainder = env.get(whiffenv.PATH_REMAINDER)
        if path_remainder:
        yield "default whiff directory listing<br>\n"
        yield "responding_path "+repr(env.get(whiffenv.RESPONDING_PATH))+"<br>\n"
        yield "path_remainder "+repr(env.get(whiffenv.PATH_REMAINDER))+"<br>\n"
        yield '<table border>\n'

src/w/h/whiff-1.1/whiff/urlcomponent.py   whiff(Download)
        #pr  "   in", root_application
        (resolution, responding_path, path_remainder) = root_application.resolve(url, args, env=env)
        env[whiffenv.RESPONDING_PATH] = responding_path
        env[whiffenv.PATH_REMAINDER] = path_remainder
        #pr "   SET resolution to (res, rp, pr)", (resolution, responding_path, path_remainder)