diff options
author | Kirill <iam@python273.pw> | 2019-11-13 19:13:53 +0300 |
---|---|---|
committer | Tal Einat <taleinat+github@gmail.com> | 2019-11-13 18:13:52 +0200 |
commit | 61289d436661025a3111065482275d49a4850b8d (patch) | |
tree | c8930cd95057d24c8c779c0922e4dee3746bbf96 /Lib/xmlrpc/server.py | |
parent | d89cea15ad37e873003fc74ec2c77660ab620b00 (diff) | |
download | cpython-git-61289d436661025a3111065482275d49a4850b8d.tar.gz |
bpo-38786: Add parsing of https links to pydoc (GH-17143)
Diffstat (limited to 'Lib/xmlrpc/server.py')
-rw-r--r-- | Lib/xmlrpc/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py index 32aba4df4c..287e3243b1 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') |