[Python-checkins] python/dist/src/Lib/lib-tk Tix.py, 1.18,
1.19 Tkinter.py, 1.179, 1.180 tkFileDialog.py, 1.12, 1.13
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Sun Jul 18 08:15:16 CEST 2004
- Previous message: [Python-checkins] python/dist/src/Lib/distutils/command bdist.py,
1.28, 1.29 bdist_dumb.py, 1.23, 1.24 bdist_wininst.py, 1.49,
1.50 build_ext.py, 1.95, 1.96 build_scripts.py, 1.22,
1.23 install.py, 1.69, 1.70 register.py, 1.6, 1.7
- Next message: [Python-checkins] python/dist/src/Lib/plat-atheos IN.py, 1.1,
1.2 TYPES.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31286/lib-tk
Modified Files:
Tix.py Tkinter.py tkFileDialog.py
Log Message:
Whitespace normalization, via reindent.py.
Index: Tix.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tix.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** Tix.py 21 Mar 2004 15:26:44 -0000 1.18
--- Tix.py 18 Jul 2004 06:14:44 -0000 1.19
***************
*** 1105,1117 ****
def page(self, name):
! return self.subwidget(name)
def pages(self):
! # Can't call subwidgets_all directly because we don't want .nbframe
! names = self.tk.split(self.tk.call(self._w, 'pages'))
! ret = []
! for x in names:
! ret.append(self.subwidget(x))
! return ret
def raise_page(self, name): # raise is a python keyword
--- 1105,1117 ----
def page(self, name):
! return self.subwidget(name)
def pages(self):
! # Can't call subwidgets_all directly because we don't want .nbframe
! names = self.tk.split(self.tk.call(self._w, 'pages'))
! ret = []
! for x in names:
! ret.append(self.subwidget(x))
! return ret
def raise_page(self, name): # raise is a python keyword
***************
*** 1738,1742 ****
class _dummyPanedWindow(PanedWindow, TixSubWidget):
def __init__(self, master, name, destroy_physically=1):
! TixSubWidget.__init__(self, master, name, destroy_physically)
########################
--- 1738,1742 ----
class _dummyPanedWindow(PanedWindow, TixSubWidget):
def __init__(self, master, name, destroy_physically=1):
! TixSubWidget.__init__(self, master, name, destroy_physically)
########################
Index: Tkinter.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tkinter.py,v
retrieving revision 1.179
retrieving revision 1.180
diff -C2 -d -r1.179 -r1.180
*** Tkinter.py 18 Feb 2004 05:59:53 -0000 1.179
--- Tkinter.py 18 Jul 2004 06:14:44 -0000 1.180
***************
*** 1558,1562 ****
# to avoid recursions in the getattr code in case of failure, we
# ensure that self.tk is always _something_.
! self.tk = None
if baseName is None:
import sys, os
--- 1558,1562 ----
# to avoid recursions in the getattr code in case of failure, we
# ensure that self.tk is always _something_.
! self.tk = None
if baseName is None:
import sys, os
Index: tkFileDialog.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/tkFileDialog.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** tkFileDialog.py 1 Dec 2003 21:04:22 -0000 1.12
--- tkFileDialog.py 18 Jul 2004 06:14:44 -0000 1.13
***************
*** 132,137 ****
def askopenfilenames(**options):
"""Ask for multiple filenames to open
!
! Returns a list of filenames or empty list if
cancel button selected
"""
--- 132,137 ----
def askopenfilenames(**options):
"""Ask for multiple filenames to open
!
! Returns a list of filenames or empty list if
cancel button selected
"""
***************
*** 152,157 ****
"""Ask for multiple filenames and return the open file
objects
!
! returns a list of open file objects or an empty list if
cancel selected
"""
--- 152,157 ----
"""Ask for multiple filenames and return the open file
objects
!
! returns a list of open file objects or an empty list if
cancel selected
"""
***************
*** 205,209 ****
fp.close()
except:
! print "Could not open File: "
print sys.exc_info()[1]
--- 205,209 ----
fp.close()
except:
! print "Could not open File: "
print sys.exc_info()[1]
***************
*** 214,216 ****
saveasfilename=asksaveasfilename()
print "saveas", saveasfilename.encode(enc)
-
--- 214,215 ----
- Previous message: [Python-checkins] python/dist/src/Lib/distutils/command bdist.py,
1.28, 1.29 bdist_dumb.py, 1.23, 1.24 bdist_wininst.py, 1.49,
1.50 build_ext.py, 1.95, 1.96 build_scripts.py, 1.22,
1.23 install.py, 1.69, 1.70 register.py, 1.6, 1.7
- Next message: [Python-checkins] python/dist/src/Lib/plat-atheos IN.py, 1.1,
1.2 TYPES.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list