From: Erlend Egeberg Aasland Date: Sun, 27 Dec 2020 22:35:17 +0000 (+0100) Subject: bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965) X-Git-Tag: v3.10.0a4~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abba83b4b91f78dc556dc0b7700ecb46cba22c01;p=thirdparty%2FPython%2Fcpython.git bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965) The `pages` argument default value now reflects the implementation. --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index c36648775a61..950df60b2027 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -546,7 +546,7 @@ Connection Objects con.close() - .. method:: backup(target, *, pages=0, progress=None, name="main", sleep=0.250) + .. method:: backup(target, *, pages=-1, progress=None, name="main", sleep=0.250) This method makes a backup of a SQLite database even while it's being accessed by other clients, or concurrently by the same connection. The copy will be