Skip to content

Commit

Permalink
pool: Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Mar 30, 2017
1 parent 0d19d96 commit 6607166
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions asyncpg/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ def wrapper(self, *args, **kwargs):
continue

wrapper = get_wrapper(meth)
wrapper = functools.update_wrapper(
wrapper, getattr(connection.Connection, attrname))

wrapper = functools.update_wrapper(wrapper, meth)
dct[attrname] = wrapper

if '__doc__' not in dct:
Expand Down

0 comments on commit 6607166

Please sign in to comment.