uasyncio.core: Remove unused Sleep syscall.

It's unused since since sleep() was switched to yield an integer for
delay.
pull/68/merge
Paul Sokolovsky 2017-05-16 21:43:24 +03:00
rodzic 3ef991c115
commit 61392cb641
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -94,8 +94,6 @@ class EventLoop:
log.debug("Coroutine %s yield result: %s", cb, ret)
if isinstance(ret, SysCall1):
arg = ret.arg
if isinstance(ret, Sleep):
delay = int(arg * 1000)
if isinstance(ret, SleepMs):
delay = arg
elif isinstance(ret, IORead):
@ -153,9 +151,6 @@ class SysCall1(SysCall):
def __init__(self, arg):
self.arg = arg
class Sleep(SysCall1):
pass
class StopLoop(SysCall1):
pass