kopia lustrzana https://github.com/micropython/micropython-lib
aiorepl: Update import of asyncio.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>pull/756/head
rodzic
41aa257a31
commit
e051a120bc
|
@ -21,7 +21,7 @@ To use this library, you need to import the library and then start the REPL task
|
|||
For example, in main.py:
|
||||
|
||||
```py
|
||||
import uasyncio as asyncio
|
||||
import asyncio
|
||||
import aiorepl
|
||||
|
||||
async def demo():
|
||||
|
|
|
@ -5,7 +5,7 @@ from micropython import const
|
|||
import re
|
||||
import sys
|
||||
import time
|
||||
import uasyncio as asyncio
|
||||
import asyncio
|
||||
|
||||
# Import statement (needs to be global, and does not return).
|
||||
_RE_IMPORT = re.compile("^import ([^ ]+)( as ([^ ]+))?")
|
||||
|
|
Ładowanie…
Reference in New Issue