kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio: Cleanup module imports after split up.
rodzic
b2130c84ce
commit
2b582fd934
|
@ -1,15 +1,9 @@
|
||||||
import time
|
|
||||||
import heapq
|
|
||||||
import errno
|
import errno
|
||||||
import logging
|
import select
|
||||||
|
import usocket as _socket
|
||||||
from uasyncio.core import *
|
from uasyncio.core import *
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger("asyncio")
|
|
||||||
|
|
||||||
|
|
||||||
import select
|
|
||||||
|
|
||||||
class EpollEventLoop(EventLoop):
|
class EpollEventLoop(EventLoop):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -48,8 +42,6 @@ def get_event_loop():
|
||||||
return EpollEventLoop()
|
return EpollEventLoop()
|
||||||
|
|
||||||
|
|
||||||
import usocket as _socket
|
|
||||||
|
|
||||||
class StreamReader:
|
class StreamReader:
|
||||||
|
|
||||||
def __init__(self, s):
|
def __init__(self, s):
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import __main__
|
|
||||||
import time
|
import time
|
||||||
import heapq
|
import heapq
|
||||||
import errno
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue