mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762)
Adjust DeprecationWarning when testing element truth values in ElementTree, we're planning to go with the more natural True return rather than a disruptive harder to code around exception raise, and are deferring the behavior change for a few more releases.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cElementTree.py | ||
| ElementInclude.py | ||
| ElementPath.py | ||
| ElementTree.py | ||