]> granicus.if.org Git - python/commit
bpo-31648: Improve ElementPath (#3835)
authorscoder <stefan_ml@behnel.de>
Sat, 30 Sep 2017 13:35:21 +0000 (15:35 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Sep 2017 13:35:21 +0000 (16:35 +0300)
commit101a5e84acbab9d880e150195f23185dfb5449a9
tree9fd7915a7e4049f33f9d083312d2c1b78d4eeb38
parent9811e80fd0ed9d74c76a66f1dd4e4b8afa9e8f53
bpo-31648: Improve ElementPath (#3835)

* Allow whitespace inside of ElementPath predicates.
* Add ElementPath predicate support for text comparison of the current node, like "[.='text']".
Doc/library/xml.etree.elementtree.rst
Doc/whatsnew/3.7.rst
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementPath.py
Misc/NEWS.d/next/Library/2017-09-30-10-45-12.bpo-31648.Cai7ji.rst [new file with mode: 0644]