Skip to content

Commit

Permalink
bpo-42755: Fix sqlite3.Connection.backup docs (pythonGH-23965)
Browse files Browse the repository at this point in the history
The `pages` argument default value now reflects the implementation.
  • Loading branch information
Erlend Egeberg Aasland authored and adorilson committed Mar 11, 2021
1 parent 103cbfa commit 469417a
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 @@ -546,7 +546,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 469417a

Please sign in to comment.