mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +00:00
9ed8b44033
__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. |
||
---|---|---|
.. | ||
cast | ||
pycpp | ||
classes.rst | ||
embedding.rst | ||
exceptions.rst | ||
functions.rst | ||
misc.rst | ||
smart_ptrs.rst |