Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 2012

Show
Ignore:
Timestamp:
07/03/08 00:51:43
Author:
fumanchu
Message:

Doc tweaks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/lib/profiler.py

    r1985 r2012  
    161161class make_app: 
    162162    def __init__(self, nextapp, path=None, aggregate=False): 
    163         """Make a WSGI middleware app which wraps 'nextapp' with profiling.""" 
     163        """Make a WSGI middleware app which wraps 'nextapp' with profiling. 
     164         
     165        nextapp: the WSGI application to wrap, usually an instance of 
     166            cherrypy.Application. 
     167        path: where to dump the profiling output. 
     168        aggregate: if True, profile data for all HTTP requests will go in 
     169            a single file. If False (the default), each HTTP request will 
     170            dump its profile data into a separate file. 
     171        """ 
    164172        self.nextapp = nextapp 
    165173        self.aggregate = aggregate 
  • trunk/cherrypy/process/plugins.py

    r2006 r2012  
    2222        """Register this object as a (multi-channel) listener on the bus.""" 
    2323        for channel in self.bus.listeners: 
     24            # Subscribe self.start, self.exit, etc. if present. 
    2425            method = getattr(self, channel, None) 
    2526            if method is not None: 
     
    2930        """Unregister this object as a listener on the bus.""" 
    3031        for channel in self.bus.listeners: 
     32            # Unsubscribe self.start, self.exit, etc. if present. 
    3133            method = getattr(self, channel, None) 
    3234            if method is not None: 
  • trunk/cherrypy/process/win32.py

    r1989 r2012  
    7272    """A Web Site Process Bus implementation for Win32. 
    7373     
    74     Instead of using time.sleep for blocking, this bus uses native 
    75     win32event objects. It also responds to console events. 
     74    Instead of time.sleep, this bus blocks using native win32event objects. 
    7675    """ 
    7776     

Hosted by WebFaction

Log in as guest/cpguest to create tickets