Skip to content

Commit bf8464c

Browse files
stlehmannrob-smallshire
authored andcommitted
add imports to example (#33)
1 parent ab62188 commit bf8464c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

documentation/api.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ A factory function (`asyncio.coroutine`) is provided:
2929

3030
Example::
3131

32+
import asyncio
33+
import serial_asyncio
34+
35+
3236
class Output(asyncio.Protocol):
3337
def connection_made(self, transport):
3438
self.transport = transport

0 commit comments

Comments
 (0)