[Python-checkins] python/dist/src/Lib textwrap.py,1.5,1.6

gward@users.sourceforge.net gward@users.sourceforge.net
Fri, 07 Jun 2002 15:35:43 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv19303

Modified Files:
	textwrap.py 
Log Message:
Use True/False instead of 1/0.


Index: textwrap.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/textwrap.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** textwrap.py	7 Jun 2002 22:33:11 -0000	1.5
--- textwrap.py	7 Jun 2002 22:35:41 -0000	1.6
***************
*** 15,19 ****
      you'll probably have to override _wrap_chunks().
  
!     Several instance attributes control various aspects of
      wrapping:
        expand_tabs (default: true)
--- 15,19 ----
      you'll probably have to override _wrap_chunks().
  
!     Several boolean instance attributes control various aspects of
      wrapping:
        expand_tabs (default: true)
***************
*** 58,65 ****
  
      def __init__ (self):
!         self.expand_tabs = 1
!         self.replace_whitespace = 1
!         self.fix_sentence_endings = 0
!         self.break_long_words = 1
          
  
--- 58,65 ----
  
      def __init__ (self):
!         self.expand_tabs = True
!         self.replace_whitespace = True
!         self.fix_sentence_endings = False
!         self.break_long_words = True