Commit a54eab92 by Wenzel Jakob

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

This reverts commit 9ed8b440.
parent 2c4cd841
...@@ -23,7 +23,7 @@ The following Python snippet demonstrates the intended usage from the Python sid ...@@ -23,7 +23,7 @@ The following Python snippet demonstrates the intended usage from the Python sid
.. code-block:: python .. code-block:: python
class A: class A:
def __new__(cls): def __int__(self):
return 123 return 123
from example import print from example import print
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment