Commit b3bb03e
fix: ElementTree deprecation warning in XML parser (v0.2.1)
- Replace `or` with explicit `is not None` check in _find()
- Fixes DeprecationWarning on Python 3.12+ ElementTree truth testing
- Bump version 0.2.0 → 0.2.1
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a8f8395 commit b3bb03e
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments