[Python-checkins] bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)

miss-islington webhook-mailer at python.org
Sun Dec 27 17:56:45 EST 2020


https://github.com/python/cpython/commit/9f6a37cc072dab9f9a13d491d3592d23d9809d2b
commit: 9f6a37cc072dab9f9a13d491d3592d23d9809d2b
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-12-27T14:56:41-08:00
summary:

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 at innova.no>

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index b97414e6fcaa6..fc9ad2e113e11 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



More information about the Python-checkins mailing list