normalize whitespace

This commit is contained in:
Eli Bendersky 2013-05-19 09:27:13 -07:00
parent e6a951b83e
commit 8687245e27
1 changed files with 0 additions and 4 deletions

View File

@ -1382,12 +1382,10 @@ class TreeBuilder:
self._last.text = text
self._data = []
def data(self, data):
"""Add text to current element."""
self._data.append(data)
def start(self, tag, attrs):
"""Open new element and return it.
@ -1403,7 +1401,6 @@ class TreeBuilder:
self._tail = 0
return elem
def end(self, tag):
"""Close and return current Element.
@ -1681,4 +1678,3 @@ try:
source.close()
except ImportError:
pass