Commit fd182cd9 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

py-cvs-2000_07_13 (Rev 1.38) merge

"Remove legacy support for the BrowserControl module; the webbrowser
module has been included since Python 2.0, and that is the preferred
interface." --fdrake
parent c683a293
...@@ -12,12 +12,8 @@ import imp ...@@ -12,12 +12,8 @@ import imp
from Tkinter import * from Tkinter import *
import tkSimpleDialog import tkSimpleDialog
import tkMessageBox import tkMessageBox
try:
import webbrowser import webbrowser
except ImportError:
import BrowserControl
webbrowser = BrowserControl
del BrowserControl
import idlever import idlever
import WindowList import WindowList
from IdleConf import idleconf from IdleConf import idleconf
...@@ -313,7 +309,7 @@ class EditorWindow: ...@@ -313,7 +309,7 @@ class EditorWindow:
help_url = "http://www.python.org/doc/current/" help_url = "http://www.python.org/doc/current/"
if sys.platform[:3] == "win": if sys.platform[:3] == "win":
fn = os.path.dirname(__file__) fn = os.path.dirname(__file__)
fn = os.path.join(fn, "../../Doc/index.html") fn = os.path.join(fn, os.pardir, os.pardir, "Doc", "index.html")
fn = os.path.normpath(fn) fn = os.path.normpath(fn)
if os.path.isfile(fn): if os.path.isfile(fn):
help_url = fn help_url = fn
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment