Skip to content

Commit 9f6a37c

Browse files
miss-islingtonErlend Egeberg Aasland
and
Erlend Egeberg Aasland
authored
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
The `pages` argument default value now reflects the implementation. (cherry picked from commit abba83b) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent dda12ad commit 9f6a37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/sqlite3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ Connection Objects
545545
con.close()
546546

547547

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

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

0 commit comments

Comments
 (0)