summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-07-20 19:19:26 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-07-20 19:19:26 +0000
commite7119aea7870f0322e78d3a2cb28337b1640f0c2 (patch)
tree021a176797ba2efbf27f1dc7e1ca3f3ba22dd179 /lib/sqlalchemy/sql
parente72106d1499ec628487f7e428e7c49acdd4eb9c0 (diff)
parent85fa3473be1332af34ce905e9ea0affdeefbb223 (diff)
downloadsqlalchemy-e7119aea7870f0322e78d3a2cb28337b1640f0c2.tar.gz
Merge "Documentation improvements"
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/elements.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index e253ddb93..f519c1b3e 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -2835,7 +2835,7 @@ class Case(ColumnElement):
stmt = select(users_table).\
where(
case(
- whens={"wendy": "W", "jack": "J"},
+ {"wendy": "W", "jack": "J"},
value=users_table.c.name,
else_='E'
)