From e051a120bcd0433b209727b20d342f1faa651b8f Mon Sep 17 00:00:00 2001 From: Andrew Leech Date: Tue, 24 Oct 2023 15:27:31 +1100 Subject: [PATCH] aiorepl: Update import of asyncio. Signed-off-by: Andrew Leech --- micropython/aiorepl/README.md | 2 +- micropython/aiorepl/aiorepl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/aiorepl/README.md b/micropython/aiorepl/README.md index 4bb11083..c1c08b89 100644 --- a/micropython/aiorepl/README.md +++ b/micropython/aiorepl/README.md @@ -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(): diff --git a/micropython/aiorepl/aiorepl.py b/micropython/aiorepl/aiorepl.py index e7e31676..e562f946 100644 --- a/micropython/aiorepl/aiorepl.py +++ b/micropython/aiorepl/aiorepl.py @@ -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 ([^ ]+))?")