[Zpt] CVS: Packages/TAL - HTMLTALParser.py:1.13
guido@digicool.com
guido@digicool.com
Fri, 16 Mar 2001 10:53:14 -0500 (EST)
Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv26421
Modified Files:
HTMLTALParser.py
Log Message:
Add parseString() API.
--- Updated File HTMLTALParser.py in package Packages/TAL --
--- HTMLTALParser.py 2001/03/16 15:36:23 1.12
+++ HTMLTALParser.py 2001/03/16 15:53:13 1.13
@@ -166,6 +166,9 @@
f = open(file)
data = f.read()
f.close()
+ self.parseString(data)
+
+ def parseString(self, data):
self.feed(data)
self.close()
while self.tagstack: