File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,11 @@ def _fileobj_to_fd(fileobj):
50
50
Object used to associate a file object to its backing
51
51
file descriptor, selected event mask, and attached data.
52
52
"""
53
- if sys .version_info >= (3 , 5 ):
54
- SelectorKey .fileobj .__doc__ = 'File object registered.'
55
- SelectorKey .fd .__doc__ = 'Underlying file descriptor.'
56
- SelectorKey .events .__doc__ = 'Events that must be waited for on this file object.'
57
- SelectorKey .data .__doc__ = ('''Optional opaque data associated to this file object.
58
- For example, this could be used to store a per-client session ID.''' )
53
+ SelectorKey .fileobj .__doc__ = 'File object registered.'
54
+ SelectorKey .fd .__doc__ = 'Underlying file descriptor.'
55
+ SelectorKey .events .__doc__ = 'Events that must be waited for on this file object.'
56
+ SelectorKey .data .__doc__ = ('''Optional opaque data associated to this file object.
57
+ For example, this could be used to store a per-client session ID.''' )
59
58
60
59
61
60
class _SelectorMapping (Mapping ):
You can’t perform that action at this time.
0 commit comments