Skip to content

Commit bd4a10e

Browse files
committed
Fix executemany documenation example
1 parent ce22ff5 commit bd4a10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncpg/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ async def executemany(self, command: str, args, timeout: float=None):
157157
158158
>>> await con.executemany('''
159159
... INSERT INTO mytab (a) VALUES ($1, $2, $3);
160-
... ''')
160+
... ''', [(1, 2, 3), (4, 5, 6)])
161161
162162
:param command: Command to execute.
163163
:args: An iterable containing sequences of arguments.

0 commit comments

Comments
 (0)