summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-05-15 17:25:23 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-05-15 17:25:23 (GMT)
commitcd65a0302a919a584905ceb9c2c9f48200fac59f (patch)
tree4fe36f3d40b7404418dabeef475711dd622319b1 /Lib
parentc64d942e8d3cdca5450f5a622578d488c7982807 (diff)
downloadcpython-cd65a0302a919a584905ceb9c2c9f48200fac59f.zip
cpython-cd65a0302a919a584905ceb9c2c9f48200fac59f.tar.gz
cpython-cd65a0302a919a584905ceb9c2c9f48200fac59f.tar.bz2
Issue #20640: Add https: to url prefixes so test passes on Darwin.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/configHelpSourceEdit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/configHelpSourceEdit.py b/Lib/idlelib/configHelpSourceEdit.py
index b3028e9..cde8118 100644
--- a/Lib/idlelib/configHelpSourceEdit.py
+++ b/Lib/idlelib/configHelpSourceEdit.py
@@ -149,7 +149,7 @@ class GetHelpSourceDialog(Toplevel):
self.path.get().strip())
if sys.platform == 'darwin':
path = self.result[1]
- if path.startswith(('www', 'file:', 'http:')):
+ if path.startswith(('www', 'file:', 'http:', 'https:')):
pass
else:
# Mac Safari insists on using the URI form for local files