Skip to content

Commit 0bdfbd1

Browse files
florystaaugustin
authored andcommitted
Fix incorrect asyncio import in README
1 parent dde3716 commit 0bdfbd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Here's an echo server with the ``asyncio`` API:
4747
#!/usr/bin/env python
4848
4949
import asyncio
50-
from websockets.server import serve
50+
from websockets.asyncio.server import serve
5151
5252
async def echo(websocket):
5353
async for message in websocket:

0 commit comments

Comments
 (0)