sizmailov / pybind11-stubgen

Generate stubs for python modules
Other
232 stars 47 forks source link

Add support for @classmethod #91

Closed virtuald closed 1 year ago

virtuald commented 1 year ago

Support for https://github.com/pybind/pybind11/pull/4158 if it ever gets merged. I don't see any harm in including this now -- any future classmethod implementations are going to follow the normal python convention of cls as the first argument.

sizmailov commented 1 year ago

Thank you! I've published it as 0.12.0