Revert "Change __init__(self) to __new__(cls)"

This reverts commit 9ed8b44033.
This commit is contained in:
Wenzel Jakob 2020-04-26 22:53:50 +02:00
parent 2c4cd8419d
commit a54eab92d2

View File

@ -23,7 +23,7 @@ The following Python snippet demonstrates the intended usage from the Python sid
.. code-block:: python
class A:
def __new__(cls):
def __int__(self):
return 123
from example import print