gtg icon indicating copy to clipboard operation
gtg copied to clipboard

Type fixes for versioning.py

Open gycsaba96 opened this issue 4 months ago • 0 comments

The changes are as follows:

  • use the _Element/_ElementTree class instead of the Element/ElementTree factory for typing,
  • expect None values returned by lxml,
  • other minor fixes.

Two unresolved lines still reference the core/xml.py file removed in e43eee0. This doesn't cause runtime errors because the code in versioning.py is currently unreachable (see PR #1133; this is possibly the reason behind issue #1051).

gycsaba96 avatar Oct 19 '24 14:10 gycsaba96