From ae1f3bd7bd1150e8ab34d18ab7d155f6b88e0382 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 7 Mar 2000 17:56:27 +0000 Subject: rename the global IdleConfParser object from IdleConf to idleconf standard usage is now from IdleConf import idleconf --- Tools/idle/EditorWindow.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/idle/EditorWindow.py b/Tools/idle/EditorWindow.py index ee3b9c3..15820b5 100644 --- a/Tools/idle/EditorWindow.py +++ b/Tools/idle/EditorWindow.py @@ -8,7 +8,7 @@ import tkSimpleDialog import tkMessageBox import idlever import WindowList -from IdleConf import IdleConf +from IdleConf import idleconf # The default tab setting for a Text widget, in average-width characters. TK_TABWIDTH_DEFAULT = 8 @@ -94,8 +94,8 @@ class EditorWindow: vars = {} def __init__(self, flist=None, filename=None, key=None, root=None): - edconf = IdleConf.getsection('EditorWindow') - coconf = IdleConf.getsection('Colors') + edconf = idleconf.getsection('EditorWindow') + coconf = idleconf.getsection('Colors') self.flist = flist root = root or flist.root self.root = root @@ -530,7 +530,7 @@ class EditorWindow: traceback.print_exc() def get_standard_extension_names(self): - return IdleConf.getextensions() + return idleconf.getextensions() def load_extension(self, name): mod = __import__(name, globals(), locals(), []) -- cgit v0.12