Ignore:
Timestamp:
Nov 1, 2008, 11:37:16 AM (14 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@133
Message:

Bring compat in line with Twisted trunk regarding XmlStreamServerFactory?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/compat.py

    r38 r44  
    5656    C{observerfn} arguments to L{utility.EventDispatcher.addObserver}.
    5757
     58    @since: 8.2.
    5859    @ivar bootstraps: The list of registered bootstrap event observers.
    5960    @type bootstrap: C{list}
     
    7879        """
    7980        Add a bootstrap event handler.
     81
     82        @param event: The event to register an observer for.
     83        @type event: C{str} or L{xpath.XPathQuery}
     84        @param fn: The observer callable to be registered.
    8085        """
    8186        self.bootstraps.append((event, fn))
     
    8590        """
    8691        Remove a bootstrap event handler.
     92
     93        @param event: The event the observer is registered for.
     94        @type event: C{str} or L{xpath.XPathQuery}
     95        @param fn: The registered observer callable.
    8796        """
    8897        self.bootstraps.remove((event, fn))
Note: See TracChangeset for help on using the changeset viewer.