8000 bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965) · python/cpython@28611c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 28611c2

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 <erlend.aasland@innova.no>
1 parent 03a079f commit 28611c2

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
< 5273 td data-grid-cell-id="diff-e9385684db2b0ebe16c55670829d121faab7f91b9bd0f30767d4b399f696471f-548-547-1" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-deletionNum-bgColor, var(--diffBlob-deletion-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">
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)
0