]> granicus.if.org Git - python/commit
Convert to using string methods instead of the string module.
authorFred Drake <fdrake@acm.org>
Mon, 3 Dec 2001 17:09:50 +0000 (17:09 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 3 Dec 2001 17:09:50 +0000 (17:09 +0000)
commit248b04383fafdb126794e989a2c023a16eb0f429
tree27ec41431bc103275f12a7eef92770910462f318
parent073148c4ef807732eaf42df4b7178cecfa0b58dc
Convert to using string methods instead of the string module.
In goahead(), use a bound version of rawdata.startswith() since we use the
same method all the time and never change the value of rawdata.  This can
save a lot of bound method creation.
Lib/HTMLParser.py