Original file line numberDiff line numberDiff line change@@ -9,8 +9,8 @@
99not open blocks are not shown in the context hints pane.
10101111"""
12-importTkinter
13-fromTkconstantsimportTOP, LEFT, X, W, SUNKEN
12+importtkinter
13+fromtkinter.constantsimportTOP, LEFT, X, W, SUNKEN
1414importre
1515fromsysimportmaxsizeasINFINITY
1616fromidlelib.configHandlerimportidleConf
@@ -69,7 +69,7 @@ def toggle_code_context_event(self, event=None):
6969border=0
7070forwidgetinwidgets:
7171border+=int(str( widget.cget('border') ))
72-self.label=Tkinter.Label(self.editwin.top,
72+self.label=tkinter.Label(self.editwin.top,
7373text="\n"* (self.context_depth-1),
7474anchor=W, justify=LEFT,
7575font=self.textfont,