Skip to content

Commit 43295cd

Browse files
authored
Update Lib/idlelib/help.py
1 parent ce4268d commit 43295cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/idlelib/help.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,8 @@ def show_idlehelp(parent):
295295

296296

297297
def _get_dochome():
298-
"""Returns path to local docs
298+
"Return path to local docs if present, otherwise link to docs.python.org."
299299

300-
If none found returns link to docs.python.org.
301-
"""
302300
dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html')
303301
if sys.platform.count('linux'):
304302
# look for html docs in a couple of standard places

0 commit comments

Comments
 (0)