summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql
diff options
context:
space:
mode:
authorPeter Schutt <peter_schutt@bigpond.com>2019-07-15 13:51:28 +1000
committerGitHub <noreply@github.com>2019-07-15 13:51:28 +1000
commit26ef5ed862270bda4ab6abe544add9f8bb7ac72f (patch)
tree72fdf6765b7b0e4d49b8bac216e06f62f481dcab /lib/sqlalchemy/dialects/mysql
parentbe9f433ae38d04a8a52d86df09b760dbbfc6cd3e (diff)
downloadsqlalchemy-26ef5ed862270bda4ab6abe544add9f8bb7ac72f.tar.gz
SyntaxError in on_duplicate_key_update() example.
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql')
-rw-r--r--lib/sqlalchemy/dialects/mysql/dml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/dml.py b/lib/sqlalchemy/dialects/mysql/dml.py
index 68d46588e..293aa426d 100644
--- a/lib/sqlalchemy/dialects/mysql/dml.py
+++ b/lib/sqlalchemy/dialects/mysql/dml.py
@@ -72,7 +72,7 @@ class Insert(StandardInsert):
in :ref:`updates_order_parameters`::
insert().on_duplicate_key_update(
- [("name": "some name"), ("value", "some value")])
+ [("name", "some name"), ("value", "some value")])
.. versionchanged:: 1.3 parameters can be specified as a dictionary
or list of 2-tuples; the latter form provides for parameter