summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2020-12-27 22:35:17 (GMT)
committerGitHub <noreply@github.com>2020-12-27 22:35:17 (GMT)
commitabba83b4b91f78dc556dc0b7700ecb46cba22c01 (patch)
tree53ebd6ea081c9388b863c8cec180d085c3e12101 /Doc/library/sqlite3.rst
parentbf64d9064ab641b1ef9a0c4bda097ebf1204faf4 (diff)
downloadcpython-abba83b4b91f78dc556dc0b7700ecb46cba22c01.zip
cpython-abba83b4b91f78dc556dc0b7700ecb46cba22c01.tar.gz
cpython-abba83b4b91f78dc556dc0b7700ecb46cba22c01.tar.bz2
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
The `pages` argument default value now reflects the implementation.
Diffstat (limited to 'Doc/library/sqlite3.rst')
-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 c366487..950df60 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