aiorepl: Update import of asyncio.

Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
pull/756/head
Andrew Leech 2023-10-24 15:27:31 +11:00 zatwierdzone przez Damien George
rodzic 41aa257a31
commit e051a120bc
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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: For example, in main.py:
```py ```py
import uasyncio as asyncio import asyncio
import aiorepl import aiorepl
async def demo(): async def demo():

Wyświetl plik

@ -5,7 +5,7 @@ from micropython import const
import re import re
import sys import sys
import time import time
import uasyncio as asyncio import asyncio
# Import statement (needs to be global, and does not return). # Import statement (needs to be global, and does not return).
_RE_IMPORT = re.compile("^import ([^ ]+)( as ([^ ]+))?") _RE_IMPORT = re.compile("^import ([^ ]+)( as ([^ ]+))?")