Skip to content

Commit 6862fb3

Browse files
fishballLinterrycain
authored andcommitted
Fix a typo and wrong indention (#418)
1 parent 8ef840f commit 6862fb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pool.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The basic usage is::
1515
loop = asyncio.get_event_loop()
1616

1717
@asyncio.coroutine
18-
def go()
18+
def go():
1919
pool = yield from aiomysql.create_pool(host='127.0.0.1', port=3306,
2020
user='root', password='',
2121
db='mysql', loop=loop, autocommit=False)
@@ -25,7 +25,7 @@ The basic usage is::
2525
yield from cur.execute("SELECT 10")
2626
# print(cur.description)
2727
(r,) = yield from cur.fetchone()
28-
assert r == 10
28+
assert r == 10
2929
pool.close()
3030
yield from pool.wait_closed()
3131

0 commit comments

Comments
 (0)