We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ef840f commit 6862fb3Copy full SHA for 6862fb3
docs/pool.rst
@@ -15,7 +15,7 @@ The basic usage is::
15
loop = asyncio.get_event_loop()
16
17
@asyncio.coroutine
18
- def go()
+ def go():
19
pool = yield from aiomysql.create_pool(host='127.0.0.1', port=3306,
20
user='root', password='',
21
db='mysql', loop=loop, autocommit=False)
@@ -25,7 +25,7 @@ The basic usage is::
25
yield from cur.execute("SELECT 10")
26
# print(cur.description)
27
(r,) = yield from cur.fetchone()
28
- assert r == 10
+ assert r == 10
29
pool.close()
30
yield from pool.wait_closed()
31
0 commit comments