Skip to content
Commit 3a2bfc8b authored by Christoph Reiter's avatar Christoph Reiter 🐍 Committed by Simon Feltman
Browse files

Raise TypeError if arguments are passed to Boxed.__init__

This is a partial revert of
https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
which removed a type check in __new__. This adds it back
into __init__. Overrides which define __new__ now have to
filter out any arguments in __init__ and not the other way
around, which is a bit less surprising in the common case.

https://bugzilla.gnome.org/show_bug.cgi?id=727810
parent 90697704
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