mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 07:51:47 +00:00
__init__(self) cannot return values. According to https://stackoverflow.com/questions/2491819/how-to-return-a-value-from-init-in-python __new__(cls) should be used, which works.