diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-05-19 16:27:13 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-05-19 16:27:13 (GMT) |
commit | 8687245e27407919743b4604727d1e42cb8d0db9 (patch) | |
tree | d16949ee4b95a9de45220180341b19cf420c1bd7 /Lib/xml | |
parent | e6a951b83e30b3b9c809a441041fb0f21f72b168 (diff) | |
download | cpython-8687245e27407919743b4604727d1e42cb8d0db9.zip cpython-8687245e27407919743b4604727d1e42cb8d0db9.tar.gz cpython-8687245e27407919743b4604727d1e42cb8d0db9.tar.bz2 |
normalize whitespace
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/etree/ElementTree.py | 4 |
1 files changed, 0 insertions, 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 - |