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/IfJavascriptUrl.py   whiff(Download)
            D = {}
            D["formname"] = gateway.getResource(env, ["freshName", "formname"])
            D["entry_point"] = env[whiffenv.ENTRY_POINT]
            D["elsePage"] = elsePage
            response = template % D

src/w/h/whiff-1.1/whiff/middleware/GetPageLink.py   whiff(Download)
            rurl = cgi_dictionary["relativeURL"] = self.param_value(self.expandRelativeTo, env)
            env = expandPostedTemplate.relativeEnvironment(env, rurl)
        elif env.has_key(whiffenv.ENTRY_POINT):
            cgi_dictionary["relativeURL"] = env[whiffenv.ENTRY_POINT]
        for (k,v) in self.cgi_arguments.items():

src/w/h/whiff-1.1/whiff/middleware/expandPostedTemplate.py   whiff(Download)
def relativeEnvironment(env, relativeUrl):
    result = env.copy()
    result["SCRIPT_NAME"] = relativeUrl
    result["PATH_INFO"] = ""
    result[whiffenv.ENTRY_POINT] = relativeUrl

src/w/h/whiff-1.1/whiff/resources/PageShadow.py   whiff(Download)
    def localize(self, env):
        pagepath = env[whiffenv.ENTRY_POINT]
        return ShadowPageFinder(self.directory, pagepath)
 
    def mangledFileName(self):

src/w/h/whiff-1.1/whiff/resources/GAESession.py   whiff(Download)
    def localize(self, env):
        pagepath = env[whiffenv.ENTRY_POINT]
        return GAEShadowPageFinder(self.directory, pagepath)
    def get(self, pathlist):
        assert len(pathlist)==0, "no parameters expected"