bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)

The `pages` argument default value now reflects the implementation.
(cherry picked from commit abba83b4b9)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
Miss Islington (bot) 2020-12-27 14:56:41 -08:00 committed by GitHub
parent dda12ad63e
commit 9f6a37cc07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ Connection Objects
con.close() 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 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 by other clients, or concurrently by the same connection. The copy will be