bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
The `pages` argument default value now reflects the implementation.
(cherry picked from commit abba83b4b9
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
parent
dda12ad63e
commit
9f6a37cc07
|
@ -545,7 +545,7 @@ Connection Objects
|
||||||
con.close()
|
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
|
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
|
by other clients, or concurrently by the same connection. The copy will be
|
||||||
|
|
Loading…
Reference in New Issue