From: Federico Caselli Date: Fri, 9 Apr 2021 22:31:51 +0000 (+0200) Subject: Fix error in documentation of DDLElement X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82c22ddb6fd92e8d9525e0a863bdd77e087f704d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix error in documentation of DDLElement Change-Id: I9d850458c274d245057ea676d6730d4bd93c261f (cherry picked from commit c77274a45092352e8dd62b29e9aea8d0953a1313) --- diff --git a/lib/sqlalchemy/sql/ddl.py b/lib/sqlalchemy/sql/ddl.py index c70c8c6e58..a1ef0510ae 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')