Issue 35979: Incorrect text_signature for the get slot wrapper (original) (raw)

The current signature:

"__get__($self, instance, owner, /)\n--\n\nReturn an attribute of instance, which is of type owner."

doens't match how wrap_descr_get actually parses the arguments to get with:

PyArg_UnpackTuple(args, "", 1, 2, &obj, &type)