chiark / gitweb /
documentation/python: properly handle invalid annotation types.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 14 Jul 2019 10:51:25 +0000 (12:51 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 14 Jul 2019 17:11:08 +0000 (19:11 +0200)
commit776e42d2883c037dbc5a47fae4e0f39053a14835
treee27ec4e63ae8da5c28d20db84dfec2cf965e43fe
parent693febbd1440f6958880582c1a59bd1d6a83a2cc
documentation/python: properly handle invalid annotation types.

Such as using a tuple instead of Tuple or putting a function there
instead of a type.
documentation/python.py
documentation/test_python/inspect_annotations/inspect_annotations.html
documentation/test_python/inspect_annotations/inspect_annotations.py