[Python-checkins] CVS: python/dist/src/Doc/lib email.tex,1.9,1.9.6.1

Fred L. Drake fdrake@users.sourceforge.net
Thu, 14 Feb 2002 20:21:47 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv25061

Modified Files:
      Tag: release22-maint
	email.tex 
Log Message:
The "%" character does not need to be escaped in verbatim environments.
This closes SF bug #517811.


Index: email.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/email.tex,v
retrieving revision 1.9
retrieving revision 1.9.6.1
diff -C2 -d -r1.9 -r1.9.6.1
*** email.tex	16 Nov 2001 22:16:04 -0000	1.9
--- email.tex	15 Feb 2002 04:21:45 -0000	1.9.6.1
***************
*** 354,358 ****
  # me == the sender's email address
  # you == the recipient's email address
! msg['Subject'] = 'The contents of \%s' \% textfile
  msg['From'] = me
  msg['To'] = you
--- 354,358 ----
  # me == the sender's email address
  # you == the recipient's email address
! msg['Subject'] = 'The contents of %s' % textfile
  msg['From'] = me
  msg['To'] = you
***************
*** 481,485 ****
      # Create the enclosing (outer) message
      outer = MIMEBase('multipart', 'mixed')
!     outer['Subject'] = 'Contents of directory \%s' \% os.path.abspath(dir)
      outer['To'] = sender
      outer['From'] = COMMASPACE.join(recips)
--- 481,485 ----
      # Create the enclosing (outer) message
      outer = MIMEBase('multipart', 'mixed')
!     outer['Subject'] = 'Contents of directory %s' % os.path.abspath(dir)
      outer['To'] = sender
      outer['From'] = COMMASPACE.join(recips)
***************
*** 618,622 ****
                  # Use a generic bag-of-bits extension
                  ext = '.bin'
!             filename = 'part-\%03d\%s' \% (counter, ext)
          counter += 1
          fp = open(os.path.join(dir, filename), 'wb')
--- 618,622 ----
                  # Use a generic bag-of-bits extension
                  ext = '.bin'
!             filename = 'part-%03d%s' % (counter, ext)
          counter += 1
          fp = open(os.path.join(dir, filename), 'wb')