Skip to content

Commit

Permalink
Fix a typo and wrong indention (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
fishballLin authored and Terry Cain committed Jul 10, 2019
1 parent 8ef840f commit 6862fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The basic usage is::
loop = asyncio.get_event_loop()

@asyncio.coroutine
def go()
def go():
pool = yield from aiomysql.create_pool(host='127.0.0.1', port=3306,
user='root', password='',
db='mysql', loop=loop, autocommit=False)
Expand All @@ -25,7 +25,7 @@ The basic usage is::
yield from cur.execute("SELECT 10")
# print(cur.description)
(r,) = yield from cur.fetchone()
assert r == 10
assert r == 10
pool.close()
yield from pool.wait_closed()

Expand Down

0 comments on commit 6862fb3

Please sign in to comment.