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)
def modifiedEnvironment(env, additional_entries=None, root=None):
    "make a copy of environment, adding additional parameters if not present"
    # don't do anything if the entry point is known already (the environment has already been modified (?))
    ep = whiffenv.ENTRY_POINT
    # record the root ALWAYS if provided # if not known and provided
    def __call__(self, env, start_response):
        from whiff.middleware import redirect
        ep = env[whiffenv.ENTRY_POINT]
        #pr "redirect responding_path "+repr(env.get(whiffenv.RESPONDING_PATH))+"<br>\n"
        #pr "path_remainder "+repr(env.get(whiffenv.PATH_REMAINDER))+"<br>\n"