[Python-checkins] bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)

pablogsal webhook-mailer at python.org
Sun Dec 27 17:35:33 EST 2020


https://github.com/python/cpython/commit/abba83b4b91f78dc556dc0b7700ecb46cba22c01
commit: abba83b4b91f78dc556dc0b7700ecb46cba22c01
branch: master
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: pablogsal <Pablogsal at gmail.com>
date: 2020-12-27T22:35:17Z
summary:

bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)

The `pages` argument default value now reflects the implementation.

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index c36648775a615..950df60b2027d 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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



More information about the Python-checkins mailing list