[Python-checkins] python/dist/src/Lib/lib-tk tkFont.py,1.7,1.8

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Fri Aug 20 05:47:16 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18336/Lib/lib-tk

Modified Files:
	tkFont.py 
Log Message:
Whitespace normalization.


Index: tkFont.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/tkFont.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tkFont.py	18 Aug 2004 17:47:40 -0000	1.7
--- tkFont.py	20 Aug 2004 03:47:13 -0000	1.8
***************
*** 30,34 ****
      """
      return Font(name=name, exists=True)
!     
  class Font:
  
--- 30,34 ----
      """
      return Font(name=name, exists=True)
! 
  class Font:
  
***************
*** 51,55 ****
      underline -- font underlining: false (0), true (1)
      overstrike -- font strikeout: false (0), true (1)
!         
      """
  
--- 51,55 ----
      underline -- font underlining: false (0), true (1)
      overstrike -- font strikeout: false (0), true (1)
! 
      """
  
***************
*** 96,100 ****
          else:
              # create new font (raises TclError if the font exists)
!             root.tk.call("font", "create", self.name, *font) 
              self.delete_font = True
          # backlinks!
--- 96,100 ----
          else:
              # create new font (raises TclError if the font exists)
!             root.tk.call("font", "create", self.name, *font)
              self.delete_font = True
          # backlinks!
***************
*** 121,125 ****
          except (AttributeError, Tkinter.TclError):
              pass
!   
      def copy(self):
          "Return a distinct copy of the current font"
--- 121,125 ----
          except (AttributeError, Tkinter.TclError):
              pass
! 
      def copy(self):
          "Return a distinct copy of the current font"



More information about the Python-checkins mailing list