File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 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):
5050 Object used to associate a file object to its backing
5151 file descriptor, selected event mask, and attached data.
5252"""
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.''' )
5958
6059
6160class _SelectorMapping (Mapping ):
You can’t perform that action at this time.
0 commit comments