Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e051a12

Browse files
pi-anldpgeorge
authored andcommitted
aiorepl: Update import of asyncio.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
1 parent 41aa257 commit e051a12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎micropython/aiorepl/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To use this library, you need to import the library and then start the REPL task
2121
For example, in main.py:
2222

2323
```py
24-
import uasyncio asasyncio
24+
import asyncio
2525
import aiorepl
2626

2727
async def demo():

‎micropython/aiorepl/aiorepl.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import re
66
import sys
77
import time
8-
import uasyncioasasyncio
8+
import asyncio
99

1010
# Import statement (needs to be global, and does not return).
1111
_RE_IMPORT = re.compile("^import ([^ ]+)( as ([^ ]+))?")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /