summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/crud.py
diff options
context:
space:
mode:
authorLele Gaifax <lele@metapensiero.it>2021-01-24 13:59:03 -0500
committersqla-tester <sqla-tester@sqlalchemy.org>2021-01-24 13:59:03 -0500
commitf04147d9490df68b1fe1bb53991062d82017f865 (patch)
treeeebea42a0791544c9a10f1d7055a17497cf4108e /lib/sqlalchemy/sql/crud.py
parent2df6eb140b4feb86d7cc99c0c976d1b22eb6e25b (diff)
downloadsqlalchemy-f04147d9490df68b1fe1bb53991062d82017f865.tar.gz
Fix many spell glitches in docstrings and comments
These were revealed by running `pylint --disable all --enable spelling --spelling-dict en_US` over all sources. Closes: #5868 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5868 Pull-request-sha: bb249195d92e3b806e81ecf1192d5a1b3cd5db48 Change-Id: I96080ec93a9fbd20ce21e9e16265b3c77f22bb14
Diffstat (limited to 'lib/sqlalchemy/sql/crud.py')
-rw-r--r--lib/sqlalchemy/sql/crud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/crud.py b/lib/sqlalchemy/sql/crud.py
index f67e76181..8b4950aa3 100644
--- a/lib/sqlalchemy/sql/crud.py
+++ b/lib/sqlalchemy/sql/crud.py
@@ -400,7 +400,7 @@ def _scan_cols(
# if we have to invoke a server-side function, we need
# to pre-execute it. or if this is a straight
# autoincrement column and the dialect supports it
- # we can use curosr.lastrowid.
+ # we can use cursor.lastrowid.
_append_param_insert_pk_no_returning(
compiler, stmt, c, values, kw
@@ -607,7 +607,7 @@ def _append_param_insert_pk_no_returning(compiler, stmt, c, values, kw):
)
or
# column has no default on it, but dialect can run the
- # "autoincrement" mechanism explictly, e.g. PostrgreSQL
+ # "autoincrement" mechanism explicitly, e.g. PostgreSQL
# SERIAL we know the sequence name
(
c.default is None