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 <erlend.aasland@innova.no>
  • Loading branch information
miss-islington and Erlend Egeberg Aasland committed Jan 6, 2021
1 parent 03a079f commit 28611c2
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 28611c2

Please sign in to comment.