]> granicus.if.org Git - python/commit
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes...
authorEli Bendersky <eliben@gmail.com>
Sun, 13 Jan 2013 13:26:07 +0000 (05:26 -0800)
committerEli Bendersky <eliben@gmail.com>
Sun, 13 Jan 2013 13:26:07 +0000 (05:26 -0800)
commit25771b3749cac588ad2ecc8fc796a496d35769e5
treea52dd4608188b760df8202c60501f51fa275bd4c
parenta9edb6c4d1daa0749547a115ee4b02cc5b8d8ecd
Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.

Patch by Serhiy Storchaka.
Lib/test/test_xml_etree.py
Modules/_elementtree.c