[Python-checkins] python/dist/src/Lib/email Parser.py,1.19,1.19.6.1

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
2003年3月03日 08:37:19 -0800


Update of /cvsroot/python/python/dist/src/Lib/email
In directory sc8-pr-cvs1:/tmp/cvs-serv17645
Modified Files:
 Tag: folding-reimpl-branch
	Parser.py 
Log Message:
Cosmetic
Index: Parser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Parser.py,v
retrieving revision 1.19
retrieving revision 1.19.6.1
diff -C2 -d -r1.19 -r1.19.6.1
*** Parser.py	5 Nov 2002 21:44:06 -0000	1.19
--- Parser.py	3 Mar 2003 16:37:12 -0000	1.19.6.1
***************
*** 21,25 ****
 False = 0
 
! nlcre = re.compile('\r\n|\r|\n')
 
 
--- 21,25 ----
 False = 0
 
! NLCRE = re.compile('\r\n|\r|\n')
 
 
***************
*** 177,181 ****
 # Find out what kind of line endings we're using
 start += len(mo.group('sep')) + len(mo.group('ws'))
! mo = nlcre.search(payload, start)
 if mo:
 start += len(mo.group(0))
--- 177,181 ----
 # Find out what kind of line endings we're using
 start += len(mo.group('sep')) + len(mo.group('ws'))
! mo = NLCRE.search(payload, start)
 if mo:
 start += len(mo.group(0))

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