Bladeren bron

Corrected BaseDatabaseSchemaEditor.execute() signature in docs.

Mariusz Felisiak 3 jaren geleden
bovenliggende
commit
a5cb1ef6eb
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      docs/ref/schema-editor.txt

+ 1 - 1
docs/ref/schema-editor.txt

@@ -43,7 +43,7 @@ Methods
 ``execute()``
 -------------
 
-.. method:: BaseDatabaseSchemaEditor.execute(sql, params=[])
+.. method:: BaseDatabaseSchemaEditor.execute(sql, params=())
 
 Executes the SQL statement passed in, with parameters if supplied. This
 is a wrapper around the normal database cursors that allows capture of the SQL