diff options
author | Kirill <iam@python273.pw> | 2019-11-13 16:13:53 (GMT) |
---|---|---|
committer | Tal Einat <taleinat+github@gmail.com> | 2019-11-13 16:13:52 (GMT) |
commit | 61289d436661025a3111065482275d49a4850b8d (patch) | |
tree | c8930cd95057d24c8c779c0922e4dee3746bbf96 /Lib/pydoc.py | |
parent | d89cea15ad37e873003fc74ec2c77660ab620b00 (diff) | |
download | cpython-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/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 9a22e56..e32fdf7 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -585,7 +585,7 @@ class HTMLDoc(Doc): escape = escape or self.escape results = [] here = 0 - 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+))') |