summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-04-10 00:31:51 +0200
committerFederico Caselli <cfederico87@gmail.com>2021-04-11 00:11:33 +0200
commit82c22ddb6fd92e8d9525e0a863bdd77e087f704d (patch)
treefdd60a0484cc065753ac140cc9c25366664b7b3a
parentdf8087a634d4204b3462c607c6dd8da5e8a19d3f (diff)
downloadsqlalchemy-82c22ddb6fd92e8d9525e0a863bdd77e087f704d.tar.gz
Fix error in documentation of DDLElement
Change-Id: I9d850458c274d245057ea676d6730d4bd93c261f (cherry picked from commit c77274a45092352e8dd62b29e9aea8d0953a1313)
-rw-r--r--lib/sqlalchemy/sql/ddl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/ddl.py b/lib/sqlalchemy/sql/ddl.py
index c70c8c6e5..a1ef0510a 100644
--- a/lib/sqlalchemy/sql/ddl.py
+++ b/lib/sqlalchemy/sql/ddl.py
@@ -163,8 +163,8 @@ class DDLElement(Executable, _DDLCompiles):
DDL("my_ddl").execute_if(dialect='postgresql')
)
- :param dialect: May be a string, tuple or a callable
- predicate. If a string, it will be compared to the name of the
+ :param dialect: May be a string or tuple of strings.
+ If a string, it will be compared to the name of the
executing database dialect::
DDL('something').execute_if(dialect='postgresql')