diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-03-07 17:56:27 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-03-07 17:56:27 (GMT) |
commit | ae1f3bd7bd1150e8ab34d18ab7d155f6b88e0382 (patch) | |
tree | 509c2cddf16acc498dee7905d6f4358bc1c1e7a6 | |
parent | 6b3edf051009ec94f65efb2817f6344cf0531480 (diff) | |
download | cpython-ae1f3bd7bd1150e8ab34d18ab7d155f6b88e0382.zip cpython-ae1f3bd7bd1150e8ab34d18ab7d155f6b88e0382.tar.gz cpython-ae1f3bd7bd1150e8ab34d18ab7d155f6b88e0382.tar.bz2 |
rename the global IdleConfParser object from IdleConf to idleconf
standard usage is now from IdleConf import idleconf
-rw-r--r-- | Tools/idle/EditorWindow.py | 8 |
1 files 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(), []) |