Skip to content

Commit 10c7f68

Browse files
committed
remove another line
1 parent 03c3dd2 commit 10c7f68

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

executorlib/standalone/select.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ def __init__(self, future: Future, selector: int | str):
88
self._selector = selector
99
super().__init__()
1010

11-
def __getattr__(self, attr: str):
12-
if attr in ["_future", "_selector"]:
13-
return super().__getattribute__(attr)
14-
else:
15-
return getattr(self._future, attr)
11+
def __getattr__(self, attr: str) -> Any:
12+
return getattr(self._future, attr)
1613

1714
def __setattr__(self, name: str, value: Any):
1815
if name in ["_future", "_selector"]:

0 commit comments

Comments
 (0)