chiark / gitweb /
documentation/python: inspect pybind type __annotations__ carefully.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 13 Jul 2019 16:30:26 +0000 (18:30 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 14 Jul 2019 17:11:08 +0000 (19:11 +0200)
commitc459071e376a44b04a5b298b00d9217f49eb0bd3
treefb741b3c4d82d7af89b77eb1e713180b866d4c32
parentb2928ab9778d2a284cb2cf0a8f61602cea789c64
documentation/python: inspect pybind type __annotations__ carefully.

The typing.get_type_annotations() crashes with a KeyError there because
there's no pybind11_builtins module. I don't know and don't want to know
what's happening there.
documentation/python.py
documentation/test_python/pybind_type_links/pybind_type_links.Foo.html
documentation/test_python/pybind_type_links/pybind_type_links.cpp
documentation/test_python/pybind_type_links/pybind_type_links.html
documentation/test_python/test_pybind.py