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

Fix two typos in parseString() -- clearly I had never tried it!

parent b8e170d1
......@@ -141,8 +141,8 @@ class XMLParser:
self.parseStream(open(filename))
def parseString(self, s):
from cStringIO import cStringIO
self.ParseStream(cStringIO(s))
from cStringIO import StringIO
self.parseStream(StringIO(s))
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