From 8687245e27407919743b4604727d1e42cb8d0db9 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sun, 19 May 2013 09:27:13 -0700 Subject: normalize whitespace --- Lib/xml/etree/ElementTree.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py index eca1562..df9a380 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 - -- cgit v0.12