Jelajahi Sumber

Corrected BaseDatabaseSchemaEditor.execute() signature in docs.

Mariusz Felisiak 3 tahun lalu
induk
melakukan
a5cb1ef6eb
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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