Mercurial > hg
comparison contrib/import-checker.py @ 49370:1572f790ee5e stable
convert: remove old ElementTree import cruft from darcs
All the `import elementtree` attempts seem to pre-date py2.5, when it was
brought into the standard library, and the manual `cElementTree` fast
implementation import has been unnecessary and deprecated since py3.3.
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Wed, 15 Jun 2022 01:01:02 +0100 |
parents | 8dec9abf2669 |
children | ada9a0245fd7 |
comparison
equal
deleted
inserted
replaced
49369:cf566b57107c | 49370:1572f790ee5e |
---|---|
45 'mercurial.thirdparty', | 45 'mercurial.thirdparty', |
46 'mercurial.thirdparty.attr', | 46 'mercurial.thirdparty.attr', |
47 'mercurial.thirdparty.zope', | 47 'mercurial.thirdparty.zope', |
48 'mercurial.thirdparty.zope.interface', | 48 'mercurial.thirdparty.zope.interface', |
49 'typing', | 49 'typing', |
50 'xml.etree.ElementTree', | |
50 ) | 51 ) |
51 | 52 |
52 # Allow list of symbols that can be directly imported. | 53 # Allow list of symbols that can be directly imported. |
53 directsymbols = ('demandimport',) | 54 directsymbols = ('demandimport',) |
54 | 55 |