summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/macosxSupport.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-08-22 23:01:33 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-08-22 23:01:33 (GMT)
commit2d7f6a079df2b4582d7ccc32a7a2a7287d0bf175 (patch)
treec87d54545f01a1e080fd51c091d669871f8374dd /Lib/idlelib/macosxSupport.py
parent86d8b3497fb509d1c52f6f29f74854ec96987f23 (diff)
downloadcpython-2d7f6a079df2b4582d7ccc32a7a2a7287d0bf175.zip
cpython-2d7f6a079df2b4582d7ccc32a7a2a7287d0bf175.tar.gz
cpython-2d7f6a079df2b4582d7ccc32a7a2a7287d0bf175.tar.bz2
Switch to absolute imports to support direct execution of modules. Many
IDLE modules have main() or test() functions which are essential for testing. M idlelib/AutoCompleteWindow.py M idlelib/UndoDelegator.py M idlelib/Bindings.py M idlelib/AutoComplete.py M idlelib/configHandler.py M idlelib/HyperParser.py M idlelib/ColorDelegator.py M idlelib/ObjectBrowser.py M idlelib/ZoomHeight.py M idlelib/PyShell.py M idlelib/ParenMatch.py M idlelib/Debugger.py M idlelib/configDialog.py M idlelib/StackViewer.py M idlelib/ReplaceDialog.py M idlelib/ScriptBinding.py M idlelib/GrepDialog.py M idlelib/EditorWindow.py M idlelib/FormatParagraph.py M idlelib/OutputWindow.py M idlelib/aboutDialog.py M idlelib/IdleHistory.py M idlelib/PathBrowser.py M idlelib/ClassBrowser.py M idlelib/CallTips.py M idlelib/FileList.py M idlelib/idle.py M idlelib/CodeContext.py M idlelib/SearchDialog.py M idlelib/RemoteObjectBrowser.py M idlelib/RemoteDebugger.py M idlelib/TreeWidget.py M idlelib/run.py M idlelib/Percolator.py M idlelib/macosxSupport.py
Diffstat (limited to 'Lib/idlelib/macosxSupport.py')
-rw-r--r--Lib/idlelib/macosxSupport.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py
index 14c5bd8..20c8e23 100644
--- a/Lib/idlelib/macosxSupport.py
+++ b/Lib/idlelib/macosxSupport.py
@@ -47,10 +47,10 @@ def overrideRootMenu(root, flist):
# Due to a (mis-)feature of TkAqua the user will also see an empty Help
# menu.
from Tkinter import Menu, Text, Text
- from .EditorWindow import prepstr, get_accelerator
- from . import Bindings
- from . import WindowList
- from .MultiCall import MultiCallCreator
+ from idlelib.EditorWindow import prepstr, get_accelerator
+ from idlelib import Bindings
+ from idlelib import WindowList
+ from idlelib.MultiCall import MultiCallCreator
menubar = Menu(root)
root.configure(menu=menubar)
@@ -73,11 +73,11 @@ def overrideRootMenu(root, flist):
menubar.add_cascade(label='IDLE', menu=menu)
def about_dialog(event=None):
- from . import aboutDialog
+ from idlelib import aboutDialog
aboutDialog.AboutDialog(root, 'About IDLE')
def config_dialog(event=None):
- from . import configDialog
+ from idlelib import configDialog
configDialog.ConfigDialog(root, 'Settings')