pybind11/docs/advanced
Orell Garten 9ed8b44033 Change __init__(self) to __new__(cls)
__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.
2020-04-26 09:21:42 +02:00
..
cast Change __init__(self) to __new__(cls) 2020-04-26 09:21:42 +02:00
pycpp added py::ellipsis() method for slicing of multidimensional NumPy arrays 2018-08-28 23:22:55 +02:00
classes.rst Add docs and tests for unary op on class (#1814) 2019-06-22 12:07:41 +02:00
embedding.rst Added function for reloading module (#1040) 2017-09-12 08:05:05 +02:00
exceptions.rst Add exception translation for std::overflow_error. (#1977) 2019-11-14 08:56:58 +01:00
functions.rst doc: Add note about casting from None to T* (#1760) 2019-06-10 21:03:17 +02:00
misc.rst Fix missing word typo 2018-04-02 21:10:38 -03:00
smart_ptrs.rst Replace PYBIND11_PLUGIN with PYBIND11_MODULE 2017-05-29 03:21:19 +02:00