diff --git a/docs/advanced/cast/custom.rst b/docs/advanced/cast/custom.rst index f8035943..e4f99ac5 100644 --- a/docs/advanced/cast/custom.rst +++ b/docs/advanced/cast/custom.rst @@ -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