mirror of https://github.com/python/cpython
bpo-46583: remove unused `sys.version_info` check from `selectors` (GH-31023)
This commit is contained in:
parent
06a491179f
commit
3483aa65df
|
@ -50,7 +50,6 @@ SelectorKey.__doc__ = """SelectorKey(fileobj, fd, events, data)
|
|||
Object used to associate a file object to its backing
|
||||
file descriptor, selected event mask, and attached data.
|
||||
"""
|
||||
if sys.version_info >= (3, 5):
|
||||
SelectorKey.fileobj.__doc__ = 'File object registered.'
|
||||
SelectorKey.fd.__doc__ = 'Underlying file descriptor.'
|
||||
SelectorKey.events.__doc__ = 'Events that must be waited for on this file object.'
|
||||
|
|
Loading…
Reference in New Issue