Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
Closed
Description
In [18]: object.__init__.__get__.__text_signature__Out[18]: '($self, instance, owner, /)'In [19]: object.__init__.__get__(1)Out[19]: <method-wrapper '__init__' of int object at 0x105e7d0b0>In [20]: object.__init__.__get__(1, 2)Out[20]: <method-wrapper '__init__' of int object at 0x105e7d0b0>
The signature claims there are two required positional arguments, but in fact the second argument is optional.
(Tested on 3.11 but I think it's wrong on all recent versions.)