mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Remove functions in string module that are also string methods. Also remove:
* all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
This commit is contained in:
parent
ff11334927
commit
9d72bb452b
69 changed files with 396 additions and 2113 deletions
|
@ -3,7 +3,7 @@
|
|||
"""
|
||||
|
||||
from Tkinter import *
|
||||
import string, os
|
||||
import os
|
||||
import textView
|
||||
import idlever
|
||||
|
||||
|
@ -70,7 +70,7 @@ class AboutDialog(Toplevel):
|
|||
tkVer[len(tkVer)-1] = str('%.3g' % (float('.'+tkVer[len(tkVer)-1])))[2:]
|
||||
if tkVer[len(tkVer)-1] == '':
|
||||
tkVer[len(tkVer)-1] = '0'
|
||||
tkVer = string.join(tkVer,'.')
|
||||
tkVer = '.'.join(tkVer)
|
||||
labelTkVer = Label(frameBg, text='Tk version: '+
|
||||
tkVer, fg=self.fg, bg=self.bg)
|
||||
labelTkVer.grid(row=9, column=1, sticky=W, padx=2, pady=0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue