From: Federico Caselli Date: Fri, 9 Apr 2021 22:31:51 +0000 (+0200) Subject: Fix error in documentation of DDLElement X-Git-Tag: rel_1_4_8~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c77274a45092352e8dd62b29e9aea8d0953a1313;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix error in documentation of DDLElement Change-Id: I9d850458c274d245057ea676d6730d4bd93c261f --- 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')