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)
        if root:
            # allocate a monitor for resources
            newenv[whiffenv.RESOURCES] = root.resourceMonitor()
    # finally make additions, if specified
    if additional_entries:

src/w/h/whiff-1.1/whiff/gateway.py   whiff(Download)
def getResourceMonitor(env):
    test = env.get(whiffenv.RESOURCES)
    if test is None:
        raise UnknownResource, "no resource monitor found in environment"
    return test