]> 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>
Fri, 9 Apr 2021 22:32:42 +0000 (00:32 +0200)
Change-Id: I9d850458c274d245057ea676d6730d4bd93c261f

lib/sqlalchemy/sql/ddl.py

index 8d8e68d2f7f790fdbd4cb4b92cd3b13320d08239..4d69e5edc74b814ef4fd952016b8ecc1acf46ad2 100644 (file)
@@ -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')