Wenzel Jakob
|
a54eab92d2
|
Revert "Change __init__(self) to __new__(cls)"
This reverts commit 9ed8b44033 .
|
2020-04-26 22:53:50 +02:00 |
|
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 |
|
Dean Moldovan
|
93528f57f3
|
Document that type_caster requires default-constructible types
[skip ci]
|
2017-08-28 14:58:11 +02:00 |
|
Wenzel Jakob
|
45e6e6f6eb
|
add note about custom type casters (fixes #480)
|
2016-11-04 11:06:22 +01:00 |
|
Dean Moldovan
|
67b52d808e
|
Reorganize documentation
|
2016-10-20 15:21:34 +02:00 |
|