Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Future proof xml parsing in graphml. (networkx#7360)
As of Python 3.12, the lxml tree parser raises a warning about evaluating truthiness of elements directly, instead recommending an is not None or len() test.
- Loading branch information