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/middleware/Eval.py   whiff(Download)
            raise ValueError, "Eval template parse for payload reports error "+repr((result, cursor, c1, c2))
        stream = result.makeWsgiComponent()
        root_application = env[whiffenv.ROOT] # self.whiff_root_application
        responding_path = env[whiffenv.RESPONDING_PATH] # self.whiff_responding_path
        path_remainder = env[whiffenv.PATH_REMAINDER] # self.whiff_path_remainder

src/w/h/whiff-1.1/whiff/middleware/callTemplate.py   whiff(Download)
        #pr "RESOLVING", path
        # resolve the path
        root = env.get(whiffenv.ROOT)
        if root is None:
            raise ValueError, "cannot resolve template: no root bound in environment"

src/w/h/whiff-1.1/whiff/middleware/absPath.py   whiff(Download)
    def __call__(self, env, start_response):
        relativePath = self.param_value(self.page, env)
        relativePath = relativePath.strip()
        #pr "absPath unrelativizing", repr(relativePath)
        root = env[whiffenv.ROOT]