diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-02-02 08:15:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 08:15:02 (GMT) |
commit | 3483aa65dfebfc60a87ea9db3f20da84be41f606 (patch) | |
tree | 78b4b70a1039975fcdd5f1b037e5288a71e76d6a /Lib | |
parent | 06a491179f2de106d34c6b4973a32dce08fc4247 (diff) | |
download | cpython-3483aa65dfebfc60a87ea9db3f20da84be41f606.zip cpython-3483aa65dfebfc60a87ea9db3f20da84be41f606.tar.gz cpython-3483aa65dfebfc60a87ea9db3f20da84be41f606.tar.bz2 |
bpo-46583: remove unused `sys.version_info` check from `selectors` (GH-31023)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/selectors.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/selectors.py b/Lib/selectors.py index bb15a1c..af6a4f9 100644 --- a/Lib/selectors.py +++ b/Lib/selectors.py @@ -50,12 +50,11 @@ 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.' - SelectorKey.data.__doc__ = ('''Optional opaque data associated to this file object. - For example, this could be used to store a per-client session ID.''') +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.' +SelectorKey.data.__doc__ = ('''Optional opaque data associated to this file object. +For example, this could be used to store a per-client session ID.''') class _SelectorMapping(Mapping): |