Skip to content

Commit f1de0ad

Browse files
committed
fix Python 3.5
1 parent c4cc89f commit f1de0ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

asyncpg/connection.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ async def _get_statement(
340340
*,
341341
named: bool=False,
342342
use_cache: bool=True,
343-
record_class=None,
344343
disable_custom_codec=False,
344+
record_class=None
345345
):
346346
if record_class is None:
347347
record_class = self._protocol.get_record_class()
@@ -581,8 +581,8 @@ async def fetchrow(
581581
query,
582582
*args,
583583
timeout=None,
584-
record_class=None,
585584
_disable_custom_codec=False,
585+
record_class=None
586586
):
587587
"""Run a query and return the first row.
588588
@@ -1593,8 +1593,8 @@ async def _execute(
15931593
timeout,
15941594
*,
15951595
return_status=False,
1596-
record_class=None,
15971596
disable_custom_codec=False,
1597+
record_class=None
15981598
):
15991599
with self._stmt_exclusive_section:
16001600
result, _ = await self.__execute(
@@ -1616,8 +1616,8 @@ async def __execute(
16161616
timeout,
16171617
*,
16181618
return_status=False,
1619-
record_class=None,
16201619
disable_custom_codec=False,
1620+
record_class=None
16211621
):
16221622
executor = lambda stmt, timeout: self._protocol.bind_execute(
16231623
stmt, args, '', limit, return_status, timeout)
@@ -1645,8 +1645,8 @@ async def _do_execute(
16451645
timeout,
16461646
retry=True,
16471647
*,
1648-
record_class=None,
16491648
disable_custom_codec=False,
1649+
record_class=None
16501650
):
16511651
if timeout is None:
16521652
stmt = await self._get_statement(

0 commit comments

Comments
 (0)