aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-01-05 16:23:37 -0800
committerGitHub <noreply@github.com>2021-01-06 02:23:37 +0200
commit28611c28474a7fafdcf7ea2712f2670dda940eef (patch)
treee0f3b39ccb5a1981034dae6778d7a5badae4d820
parentbpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159) (diff)
downloadcpython-28611c28474a7fafdcf7ea2712f2670dda940eef.tar.gz
cpython-28611c28474a7fafdcf7ea2712f2670dda940eef.tar.bz2
cpython-28611c28474a7fafdcf7ea2712f2670dda940eef.zip
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
The `pages` argument default value now reflects the implementation. (cherry picked from commit abba83b4b91f78dc556dc0b7700ecb46cba22c01) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
-rw-r--r--Doc/library/sqlite3.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 9459f917582..e2e7312c277 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -545,7 +545,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