]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Use 'Any' instead of type unions in GLConfig.
authorCollin Funk <collin.funk1@gmail.com>
Fri, 5 Apr 2024 04:41:08 +0000 (21:41 -0700)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Apr 2024 12:55:16 +0000 (14:55 +0200)
commit05ef52b88cffed4670d2fdd065f598f2df996550
tree5f8d2d0ca045df72ccb60bd4767c75464f3b8d12
parent2c216fb8a7b363a7c05dd5ec3b443dcfe407069f
gnulib-tool.py: Use 'Any' instead of type unions in GLConfig.

* pygnulib/GLConfig.py (GLConfig.__getitem__, GLConfig.dictionary)
(GLConfig.default, GLConfig.isdefault, GLConfig.values): Use 'Any' from
the typing module instead of large type unions. This silences unhelpful
warnings from type checkers.
ChangeLog
pygnulib/GLConfig.py