How to generate a .pyi file for a C Extension using stubgen

Marco Sulla Marco.Sulla.Python at gmail.com
Fri Jul 29 14:29:40 EDT 2022


I tried to follow the instructions here:

https://mypy.readthedocs.io/en/stable/stubgen.html

but the instructions about creating a stub for a C Extension are a little
mysterious. I tried to use it on the .so file without luck.


More information about the Python-list mailing list