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 tkMessageBox
import idlever import idlever
import WindowList import WindowList
from IdleConf import IdleConf from IdleConf import idleconf
# The default tab setting for a Text widget, in average-width characters. # The default tab setting for a Text widget, in average-width characters.
TK_TABWIDTH_DEFAULT = 8 TK_TABWIDTH_DEFAULT = 8
@ -94,8 +94,8 @@ class EditorWindow:
vars = {} vars = {}
def __init__(self, flist=None, filename=None, key=None, root=None): def __init__(self, flist=None, filename=None, key=None, root=None):
edconf = IdleConf.getsection('EditorWindow') edconf = idleconf.getsection('EditorWindow')
coconf = IdleConf.getsection('Colors') coconf = idleconf.getsection('Colors')
self.flist = flist self.flist = flist
root = root or flist.root root = root or flist.root
self.root = root self.root = root
@ -530,7 +530,7 @@ class EditorWindow:
traceback.print_exc() traceback.print_exc()
def get_standard_extension_names(self): def get_standard_extension_names(self):
return IdleConf.getextensions() return idleconf.getextensions()
def load_extension(self, name): def load_extension(self, name):
mod = __import__(name, globals(), locals(), []) mod = __import__(name, globals(), locals(), [])