Skip to content

Commit 3ef991c

Browse files
committed
uasyncio.core: Remove legacy commented code for add_reader/add_writer.
1 parent f30c784 commit 3ef991c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

uasyncio.core/uasyncio/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,9 @@ def run_forever(self):
9999
if isinstance(ret, SleepMs):
100100
delay = arg
101101
elif isinstance(ret, IORead):
102-
# self.add_reader(ret.obj.fileno(), lambda self, c, f: self.call_soon(c, f), self, cb, ret.obj)
103-
# self.add_reader(ret.obj.fileno(), lambda c, f: self.call_soon(c, f), cb, ret.obj)
104-
# self.add_reader(arg.fileno(), lambda cb: self.call_soon(cb), cb)
105102
self.add_reader(arg, cb)
106103
continue
107104
elif isinstance(ret, IOWrite):
108-
# self.add_writer(arg.fileno(), lambda cb: self.call_soon(cb), cb)
109105
self.add_writer(arg, cb)
110106
continue
111107
elif isinstance(ret, IOReadDone):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy