summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/persistence.py
diff options
context:
space:
mode:
authorLele Gaifax <lele@metapensiero.it>2019-01-14 11:26:33 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-25 14:56:50 -0500
commit66e88d30a86fc37e2eaf7367e988ced3834e3250 (patch)
treeeaee9860ff866d88e398cb6531a988ccd8601e09 /lib/sqlalchemy/orm/persistence.py
parentc9a31767e0d3a15ab45101aca21924cb4434c7b9 (diff)
downloadsqlalchemy-66e88d30a86fc37e2eaf7367e988ced3834e3250.tar.gz
Fix many spell glitches
This affects mostly docstrings, except in orm/events.py::dispose_collection() where one parameter gets renamed: given that the method is empty, it seemed reasonable to me to fix that too. Closes: #4440 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4440 Pull-request-sha: 779ed75acb6142e1f1daac467b5b14134529bb4b Change-Id: Ic0553fe97853054b09c2453af76d96363de6eb0e
Diffstat (limited to 'lib/sqlalchemy/orm/persistence.py')
-rw-r--r--lib/sqlalchemy/orm/persistence.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/persistence.py b/lib/sqlalchemy/orm/persistence.py
index 1e3a8a44e..c90c8d91e 100644
--- a/lib/sqlalchemy/orm/persistence.py
+++ b/lib/sqlalchemy/orm/persistence.py
@@ -596,7 +596,7 @@ def _collect_update_commands(
propkey_to_col = mapper._propkey_to_col[table]
if bulk:
- # keys here are mapped attrbute keys, so
+ # keys here are mapped attribute keys, so
# look at mapper attribute keys for pk
params = dict(
(propkey_to_col[propkey].key, state_dict[propkey])
@@ -679,7 +679,7 @@ def _collect_update_commands(
has_all_pks = True
if bulk:
- # keys here are mapped attrbute keys, so
+ # keys here are mapped attribute keys, so
# look at mapper attribute keys for pk
pk_params = dict(
(propkey_to_col[propkey]._label, state_dict.get(propkey))