[Python-checkins] CVS: python/dist/src/Lib markupbase.py,1.1,1.2

Fred L. Drake fdrake@users.sourceforge.net
2001年9月24日 13:04:31 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv11461
Modified Files:
	markupbase.py 
Log Message:
Be consistent about the string module.
Index: markupbase.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/markupbase.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** markupbase.py	2001年09月24日 20:01:28	1.1
--- markupbase.py	2001年09月24日 20:04:29	1.2
***************
*** 301,305 ****
 if (i + len(s)) == n:
 return None, -1 # end of buffer
! return name.lower(), m.end()
 else:
 self.updatepos(declstartpos, i)
--- 301,305 ----
 if (i + len(s)) == n:
 return None, -1 # end of buffer
! return string.lower(name), m.end()
 else:
 self.updatepos(declstartpos, i)

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