summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
diff options
context:
space:
mode:
authorKirill <iam@python273.pw>2019-11-13 16:13:53 (GMT)
committerTal Einat <taleinat+github@gmail.com>2019-11-13 16:13:52 (GMT)
commit61289d436661025a3111065482275d49a4850b8d (patch)
treec8930cd95057d24c8c779c0922e4dee3746bbf96 /Lib/xmlrpc
parentd89cea15ad37e873003fc74ec2c77660ab620b00 (diff)
downloadcpython-61289d436661025a3111065482275d49a4850b8d.zip
cpython-61289d436661025a3111065482275d49a4850b8d.tar.gz
cpython-61289d436661025a3111065482275d49a4850b8d.tar.bz2
bpo-38786: Add parsing of https links to pydoc (GH-17143)
Diffstat (limited to 'Lib/xmlrpc')
-rw-r--r--Lib/xmlrpc/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py
index 32aba4d..287e324 100644
--- a/Lib/xmlrpc/server.py
+++ b/Lib/xmlrpc/server.py
@@ -732,7 +732,7 @@ class ServerHTMLDoc(pydoc.HTMLDoc):
# hyperlinking of arbitrary strings being used as method
# names. Only methods with names consisting of word characters
# and '.'s are hyperlinked.
- pattern = re.compile(r'\b((http|ftp)://\S+[\w/]|'
+ pattern = re.compile(r'\b((http|https|ftp)://\S+[\w/]|'
r'RFC[- ]?(\d+)|'
r'PEP[- ]?(\d+)|'
r'(self\.)?((?:\w|\.)+))\b')