Skip to content

Commit

Permalink
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
Browse files Browse the repository at this point in the history
The `pages` argument default value now reflects the implementation.
(cherry picked from commit abba83b)

Co-authored-by: Erlend Egeberg Aasland <[email protected]>
  • Loading branch information
miss-islington and Erlend Egeberg Aasland authored Dec 27, 2020
1 parent dda12ad commit 9f6a37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f6a37c

Please sign in to comment.