浏览代码

Corrected BaseDatabaseSchemaEditor.execute() signature in docs.

Mariusz Felisiak 3 年之前
父节点
当前提交
a5cb1ef6eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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