Commit 234b1ff2 authored by Guido van Rossum's avatar Guido van Rossum

Add note about type.__init__().

parent 07c78be0
...@@ -22,7 +22,8 @@ Core and builtins ...@@ -22,7 +22,8 @@ Core and builtins
either allows excess arguments is when it is not overridden and the either allows excess arguments is when it is not overridden and the
other one is. For backwards compatibility, when both are other one is. For backwards compatibility, when both are
overridden, it is a deprecation warning (for now; maybe a Py3k overridden, it is a deprecation warning (for now; maybe a Py3k
warning later). warning later). Also, type.__init__() insists on the same signature
as supported by type.__new__().
- Patch #1675423: PyComplex_AsCComplex() now tries to convert an object - Patch #1675423: PyComplex_AsCComplex() now tries to convert an object
to complex using its __complex__() method before falling back to the to complex using its __complex__() method before falling back to the
......
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