mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650)
This commit is contained in:
parent
78a85a34ea
commit
cc9160a29b
|
@ -2019,7 +2019,7 @@ https://www.sqlite.org.
|
|||
|
||||
.. seealso::
|
||||
|
||||
http://www.pysqlite.org
|
||||
https://www.pysqlite.org
|
||||
The pysqlite web page.
|
||||
|
||||
https://www.sqlite.org
|
||||
|
|
|
@ -364,7 +364,7 @@ def normpath(path):
|
|||
initial_slashes = path.startswith(sep)
|
||||
# POSIX allows one or two initial slashes, but treats three or more
|
||||
# as single slash.
|
||||
# (see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13)
|
||||
# (see https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13)
|
||||
if (initial_slashes and
|
||||
path.startswith(sep*2) and not path.startswith(sep*3)):
|
||||
initial_slashes = 2
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# This contains most of the executable examples from Guido's descr
|
||||
# tutorial, once at
|
||||
#
|
||||
# http://www.python.org/2.2/descrintro.html
|
||||
# https://www.python.org/download/releases/2.2.3/descrintro/
|
||||
#
|
||||
# A few examples left implicit in the writeup were fleshed out, a few were
|
||||
# skipped due to lack of interest (e.g., faking super() by hand isn't
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
* ...
|
||||
|
||||
(see: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf)
|
||||
(see: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf)
|
||||
|
||||
We have taken advantage of the elements of the C grammar that are used
|
||||
only in a few limited contexts, mostly as delimiters. They allow us to
|
||||
|
|
Loading…
Reference in a new issue