Commit f18d8cab authored by Guido van Rossum's avatar Guido van Rossum

In parseString(), use expat's Parse() method rather than using

cStringIO.
parent 8129902b
......@@ -143,8 +143,7 @@ class XMLParser:
self.parseStream(open(filename))
def parseString(self, s):
from cStringIO import StringIO
self.parseStream(StringIO(s))
self.parser.Parse(s, 1)
def parseURL(self, url):
import urllib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment