mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #26736: Used HTTPS for external links in the documentation if possible.
This commit is contained in:
parent
64099ea58e
commit
6dff0205b7
66 changed files with 140 additions and 138 deletions
|
@ -53,7 +53,7 @@ The data you've saved is persistent and is available in subsequent sessions::
|
|||
Usually your SQL operations will need to use values from Python variables. You
|
||||
shouldn't assemble your query using Python's string operations because doing so
|
||||
is insecure; it makes your program vulnerable to an SQL injection attack
|
||||
(see http://xkcd.com/327/ for humorous example of what can go wrong).
|
||||
(see https://xkcd.com/327/ for humorous example of what can go wrong).
|
||||
|
||||
Instead, use the DB-API's parameter substitution. Put ``?`` as a placeholder
|
||||
wherever you want to use a value, and then provide a tuple of values as the
|
||||
|
@ -99,7 +99,7 @@ This example uses the iterator form::
|
|||
The pysqlite web page -- sqlite3 is developed externally under the name
|
||||
"pysqlite".
|
||||
|
||||
http://www.sqlite.org
|
||||
https://www.sqlite.org
|
||||
The SQLite web page; the documentation describes the syntax and the
|
||||
available data types for the supported SQL dialect.
|
||||
|
||||
|
@ -209,7 +209,7 @@ Module functions and constants
|
|||
db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)
|
||||
|
||||
More information about this feature, including a list of recognized options, can
|
||||
be found in the `SQLite URI documentation <http://www.sqlite.org/uri.html>`_.
|
||||
be found in the `SQLite URI documentation <https://www.sqlite.org/uri.html>`_.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Added the *uri* parameter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue