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

Fred L. Drake fdrake@users.sourceforge.net
2002年2月14日 20:13:01 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23708
Modified Files:
	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.10
diff -C2 -d -r1.9 -r1.10
*** email.tex	16 Nov 2001 22:16:04 -0000	1.9
--- email.tex	15 Feb 2002 04:12:59 -0000	1.10
***************
*** 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')

AltStyle によって変換されたページ (->オリジナル) /