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:
Erlend Egeberg Aasland 2020-12-27 23:35:17 +01:00 committed by Miss Islington (bot)
parent 9d7c5ab6a4
commit b44c2e68e4
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