]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix error in documentation of DDLElement
authorFederico Caselli <cfederico87@gmail.com>
Fri, 9 Apr 2021 22:31:51 +0000 (00:31 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 10 Apr 2021 22:11:33 +0000 (00:11 +0200)
Change-Id: I9d850458c274d245057ea676d6730d4bd93c261f
(cherry picked from commit c77274a45092352e8dd62b29e9aea8d0953a1313)

lib/sqlalchemy/sql/ddl.py

index c70c8c6e58e4b586700600b5064ddc6cecdb6088..a1ef0510ae5ee333074b8aa1bc82df4999962a33 100644 (file)
@@ -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')