Ticket #3974: twisted.2.patch
File twisted.2.patch, 1.1 KB (added by , 13 years ago) |
---|
-
twisted/internet/interfaces.py
964 964 965 965 def doRead(): 966 966 """ 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}. 968 972 """ 969 973 970 974 … … 977 981 978 982 def doWrite(): 979 983 """ 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}. 981 989 """ 982 990 983 991