wjakob / nanobind

nanobind: tiny and efficient C++/Python bindings
BSD 3-Clause "New" or "Revised" License
2.29k stars 191 forks source link

Fix possible ValueError during stubgen #496

Closed laggykiller closed 6 months ago

laggykiller commented 6 months ago

Fixes https://github.com/wjakob/nanobind/issues/420#issuecomment-2023992428

wjakob commented 6 months ago

Thanks!