Ticket #3974: twisted.2.patch

File twisted.2.patch, 1.1 KB (added by Dave Peticolas, 13 years ago)
  • twisted/internet/interfaces.py

     
    964964
    965965    def doRead():
    966966        """
    967         Some data is available for reading on your descriptor.
     967        Some data is available for reading on your descriptor. If the
     968        connection is closed, return an Exception indicating
     969        why. Otherwise, return None. For connections closed cleanly,
     970        return L{main.CONNECTION_DONE}. For failed connections return
     971        L{main.CONNECTION_LOST}.
    968972        """
    969973
    970974
     
    977981
    978982    def doWrite():
    979983        """
    980         Some data can be written to your descriptor.
     984        Some data can be written to your descriptor. If the connection
     985        is closed, return an Exception indicating why. Otherwise,
     986        return None. For connections closed cleanly, return
     987        L{main.CONNECTION_DONE}. For failed connections return
     988        L{main.CONNECTION_LOST}.
    981989        """
    982990
    983991