remove Python2 some constructs/docs/comments (#10892)

* remove Python2 some constructs/docs/comments

* add changelog frag
This commit is contained in:
Alexei Znamensky
2025-10-11 06:15:01 +13:00
committed by GitHub
parent 5f471b8e5b
commit 633bd6133a
12 changed files with 22 additions and 47 deletions

View File

@@ -421,8 +421,7 @@ def main():
msg="%s must be installed and visible from %s." %
(glib_module_name, sys.executable))
interpreters = ['/usr/bin/python3', '/usr/bin/python2',
'/usr/bin/python']
interpreters = ['/usr/bin/python3', '/usr/bin/python']
interpreter = probe_interpreters_for_module(
interpreters, glib_module_name)