diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-08 19:09:45 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-12-08 19:16:09 +0100 |
commit | 650ed1c8bd461e0ab30108a755a753c9fd46e7bf (patch) | |
tree | 7f061f33b82ecbc5e9f8949d095e62f9c329e272 /misc | |
parent | 7c770ea4bbd0ddbb4f97551d05e884af4a9f8b21 (diff) | |
download | gobject-introspection-650ed1c8bd461e0ab30108a755a753c9fd46e7bf.tar.gz |
Drop all Python 2 compat code
We only support 3.4+ now.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/update-glib-annotations.py | 5 | ||||
-rw-r--r-- | misc/update-gtkdoc-tests.py | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/misc/update-glib-annotations.py b/misc/update-glib-annotations.py index 89e1780c..241439db 100755 --- a/misc/update-glib-annotations.py +++ b/misc/update-glib-annotations.py @@ -3,11 +3,6 @@ # e.g.: # ./update-glib-annotations.py ../../glib ../../glib/_build -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals - import os import sys diff --git a/misc/update-gtkdoc-tests.py b/misc/update-gtkdoc-tests.py index 4c1ec138..22098430 100644 --- a/misc/update-gtkdoc-tests.py +++ b/misc/update-gtkdoc-tests.py @@ -161,10 +161,6 @@ def parsed2tree(docblock): if __name__ == '__main__': - if sys.version_info < (3, 0): - print('Sorry, update-gtkdoc-tests.py requires Python 3.x') - sys.exit(1) - gi_tests = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'tests', 'scanner', 'annotationparser', 'gtkdoc')) gtkdoc_tests = None |