python / typing_extensions

Backported and experimental type hints for Python
Other
445 stars 109 forks source link

Add typing_extensions.get_annotations #423

Closed JelleZijlstra closed 5 months ago

JelleZijlstra commented 5 months ago

Fixes #409

This is based on the implementation in python/cpython#119891. The version that eventually lands in CPython may look a bit different, but should be compatible with what's in this PR.