asyncio_micro: Move handle() method to SysCall base class.

pull/11/head
Paul Sokolovsky 2014-06-02 01:01:28 +03:00
rodzic 6115b451ea
commit 06c8c6ce8f
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -150,10 +150,11 @@ class SysCall:
self.call = call
self.args = args
class Sleep(SysCall):
def handle(self):
time.sleep(self.args[0])
raise NotImplementedError
class Sleep(SysCall):
pass
class IORead(SysCall):