rename the global IdleConfParser object from IdleConf to idleconf

standard usage is now from IdleConf import idleconf
This commit is contained in:
Jeremy Hylton 2000-03-07 17:56:27 +00:00
parent 6b3edf0510
commit ae1f3bd7bd
1 changed files with 4 additions and 4 deletions

View File

@ -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(), [])