summaryrefslogtreecommitdiff
path: root/Lib/xml
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-05-19 09:27:13 -0700
committerEli Bendersky <eliben@gmail.com>2013-05-19 09:27:13 -0700
commitce4178aafcc58205c8d09d08b5cca4f47b43e5b9 (patch)
tree25a3d4e4a377f3189d7283f199d30cc60824ceb3 /Lib/xml
parent23a10881afb99d16bbf6502aae22529904a9b7e9 (diff)
downloadcpython-ce4178aafcc58205c8d09d08b5cca4f47b43e5b9.tar.gz
normalize whitespace
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/etree/ElementTree.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
index eca15622f0..df9a38066b 100644
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -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
-