Ticket #1272: interfaces_1272_2.diff
| File interfaces_1272_2.diff, 0.8 KB (added by therve, 3 years ago) |
|---|
-
twisted/internet/interfaces.py
750 750 """ 751 751 752 752 753 class IFileDescriptor(Interface): 754 """A file descriptor. 753 class ILoggingContext(Interface): 755 754 """ 755 Give context information that will be used to log events generated by 756 this item. 757 """ 758 def logPrefix(): 759 """ 760 @return: Prefix used during log formatting to indicate context. 761 @rtype: C{str} 762 """ 756 763 764 765 class IFileDescriptor(ILoggingContext): 766 """ 767 A file descriptor. 768 """ 769 757 770 def fileno(): 758 771 """ 759 772 @return: The platform-specified representation of a file-descriptor
