summaryrefslogtreecommitdiffstats
path: root/Tools/idle/ParenMatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/idle/ParenMatch.py')
-rw-r--r--Tools/idle/ParenMatch.py6
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')