mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-03-22 02:13:43 +08: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.