[compat] Improve compat_etree_iterfind for Py2.6
authordirkf <fieldhouse@gmx.net>
Tue, 28 May 2024 15:38:20 +0000 (16:38 +0100)
committerdirkf <fieldhouse@gmx.net>
Thu, 30 May 2024 14:46:36 +0000 (15:46 +0100)
commit34484e49f5cd91a830f5459a5b673b7c05a22e24
tree1f59edbfaf69074316b551eda25bead767639510
parent06da64ee51cd405b9392ba484cf7d3d31a88ee30
[compat] Improve compat_etree_iterfind for Py2.6
Adapted from https://raw.githubusercontent.com/python/cpython/2.7/Lib/xml/etree/ElementPath.py
youtube_dl/compat.py