summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorHonnip <me@honnip.page>2025-05-08 20:02:27 +0200
committerJan Tojnar <jtojnar@gmail.com>2025-05-08 21:08:40 +0200
commit3a996268cd7dc1986da8e4914ca2f8ea5a0f7294 (patch)
tree3b14b18daef8687fe14e372570dd3a7af9356e07 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent3f038d83344514310d6d96e6050f7197454600db (diff)
gnomeExtensions/update: Modernize type annotations
Since Python 3.9, standard collections can be used with generics in type annotations: https://docs.python.org/3.9/whatsnew/3.9.html#type-hinting-generics-in-standard-collections Since Python 3.10, `Optional` can be written using type union with `None`: https://docs.python.org/3.10/whatsnew/3.10.html#pep-604-new-type-union-operator
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions