From c77274a45092352e8dd62b29e9aea8d0953a1313 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sat, 10 Apr 2021 00:31:51 +0200 Subject: [PATCH] Fix error in documentation of DDLElement Change-Id: I9d850458c274d245057ea676d6730d4bd93c261f --- lib/sqlalchemy/sql/ddl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/sql/ddl.py b/lib/sqlalchemy/sql/ddl.py index 8d8e68d2f7..4d69e5edc7 100644 --- a/lib/sqlalchemy/sql/ddl.py +++ b/lib/sqlalchemy/sql/ddl.py @@ -167,8 +167,8 @@ class DDLElement(roles.DDLRole, 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') -- 2.47.2