Here's an implementation:
https://github.com/lxml/lxml/commit/34dce1d72a8be615eb6b70edd715786c089d4db0
Here's an implementation:
https:/ /github. com/lxml/ lxml/commit/ 34dce1d72a8be61 5eb6b70edd71578 6c089d4db0