Commit 0d840cf9 authored by Denis Bilenko's avatar Denis Bilenko

add __slots__ to internal class select.SelectResult

parent 99dc6b95
...@@ -23,6 +23,8 @@ def get_fileno(obj): ...@@ -23,6 +23,8 @@ def get_fileno(obj):
class SelectResult(object): class SelectResult(object):
__slots__ = ['read', 'write', 'event', 'timer']
def __init__(self): def __init__(self):
self.read = [] self.read = []
self.write = [] self.write = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment