mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
This commit is contained in:
parent
33cece05b9
commit
6634bf2919
74 changed files with 227 additions and 7971 deletions
|
@ -9,8 +9,8 @@ variable in the CodeContext section of config-extensions.def. Lines which do
|
|||
not open blocks are not shown in the context hints pane.
|
||||
|
||||
"""
|
||||
import tkinter
|
||||
from tkinter.constants import TOP, LEFT, X, W, SUNKEN
|
||||
import Tkinter
|
||||
from Tkconstants import TOP, LEFT, X, W, SUNKEN
|
||||
from configHandler import idleConf
|
||||
import re
|
||||
from sys import maxint as INFINITY
|
||||
|
@ -69,7 +69,7 @@ class CodeContext:
|
|||
border = 0
|
||||
for widget in widgets:
|
||||
border += int(str( widget.cget('border') ))
|
||||
self.label = tkinter.Label(self.editwin.top,
|
||||
self.label = Tkinter.Label(self.editwin.top,
|
||||
text="\n" * (self.context_depth - 1),
|
||||
anchor=W, justify=LEFT,
|
||||
font=self.textfont,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue