From 61289d436661025a3111065482275d49a4850b8d Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Nov 2019 19:13:53 +0300 Subject: bpo-38786: Add parsing of https links to pydoc (GH-17143) --- Lib/pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/pydoc.py') diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 9a22e56686..e32fdf7697 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+))') -- cgit v1.2.1