diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-03-07 17:55:32 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-03-07 17:55:32 (GMT) |
commit | 6b3edf051009ec94f65efb2817f6344cf0531480 (patch) | |
tree | 175ee338703bda6e3abdacc0c55c7e047ff3bfdb /Tools/idle/ParenMatch.py | |
parent | ba23bed340bab31b8c233f27acb181516f9de60c (diff) | |
download | cpython-6b3edf051009ec94f65efb2817f6344cf0531480.zip cpython-6b3edf051009ec94f65efb2817f6344cf0531480.tar.gz cpython-6b3edf051009ec94f65efb2817f6344cf0531480.tar.bz2 |
rename the global IdleConfParser object from IdleConf to idleconf
standard usage is now from IdleConf import idleconf
replace : with = in config.txt
Diffstat (limited to 'Tools/idle/ParenMatch.py')
-rw-r--r-- | Tools/idle/ParenMatch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/idle/ParenMatch.py b/Tools/idle/ParenMatch.py index 9f9e2ea..a607e49 100644 --- a/Tools/idle/ParenMatch.py +++ b/Tools/idle/ParenMatch.py @@ -14,7 +14,7 @@ import string import PyParse from AutoIndent import AutoIndent, index2line -from IdleConf import IdleConf +from IdleConf import idleconf class ParenMatch: """Highlight matching parentheses @@ -56,8 +56,8 @@ class ParenMatch: windows_keydefs = {} unix_keydefs = {} - iconf = IdleConf.getsection('ParenMatch') - STYLE = iconf.get('style') + iconf = idleconf.getsection('ParenMatch') + STYLE = iconf.getdef('style', 'default') FLASH_DELAY = iconf.getint('flash-delay') HILITE_CONFIG = iconf.getcolor('hilite') BELL = iconf.getboolean('bell') |