Commit 8d49958
committed
gh-140123: Make ElementTree.find use registered global namespaces
ElementTree.find, findall, findtext, and iterfind now use the
global _namespace_map as fallback when no namespaces argument
is provided. Fixes inconsistencies between ElementTree and
ElementPath when using ET.register_namespace.1 parent 8ae041c commit 8d49958
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments