Skip to content

Commit abba83b

Browse files
author
Erlend Egeberg Aasland
authoredDec 27, 2020
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
The `pages` argument default value now reflects the implementation.
1 parent bf64d90 commit abba83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Doc/library/sqlite3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ Connection Objects
546546
con.close()
547547

548548

549-
.. method:: backup(target, *, pages=0, progress=None, name="main", sleep=0.250)
549+
.. method:: backup(target, *, pages=-1, progress=None, name="main", sleep=0.250)
550550

551551
This method makes a backup of a SQLite database even while it's being accessed
552552
by other clients, or concurrently by the same connection. The copy will be

0 commit comments

Comments
 (0)
Please sign in to comment.