Skip to content

Commit 3b794e1

Browse files
lelitelprans
authored andcommitted
Fix a few typos in docstrings and comments
1 parent 4a16866 commit 3b794e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

asyncpg/connection.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ async def copy_from_table(self, table_name, *, output,
373373
:param float timeout:
374374
Optional timeout value in seconds.
375375
376-
The remaining kewyword arguments are ``COPY`` statement options,
376+
The remaining keyword arguments are ``COPY`` statement options,
377377
see `COPY statement documentation`_ for details.
378378
379379
:return: The status string of the COPY command.
@@ -441,7 +441,7 @@ async def copy_from_query(self, query, *args, output,
441441
:param float timeout:
442442
Optional timeout value in seconds.
443443
444-
The remaining kewyword arguments are ``COPY`` statement options,
444+
The remaining keyword arguments are ``COPY`` statement options,
445445
see `COPY statement documentation`_ for details.
446446
447447
:return: The status string of the COPY command.
@@ -508,7 +508,7 @@ async def copy_to_table(self, table_name, *, source,
508508
:param float timeout:
509509
Optional timeout value in seconds.
510510
511-
The remaining kewyword arguments are ``COPY`` statement options,
511+
The remaining keyword arguments are ``COPY`` statement options,
512512
see `COPY statement documentation`_ for details.
513513
514514
:return: The status string of the COPY command.
@@ -857,10 +857,10 @@ def _mark_stmts_as_closed(self):
857857
def _maybe_gc_stmt(self, stmt):
858858
if stmt.refs == 0 and not self._stmt_cache.has(stmt.query):
859859
# If low-level `stmt` isn't referenced from any high-level
860-
# `PreparedStatament` object and is not in the `_stmt_cache`:
860+
# `PreparedStatement` object and is not in the `_stmt_cache`:
861861
#
862862
# * mark it as closed, which will make it non-usable
863-
# for any `PreparedStatament` or for methods like
863+
# for any `PreparedStatement` or for methods like
864864
# `Connection.fetch()`.
865865
#
866866
# * schedule it to be formally closed on the server.

0 commit comments

Comments
 (0)