New submission from Dan Snider <mr.assume.a...@gmail.com>:

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)

----------
messages: 335378
nosy: bup
priority: normal
severity: normal
status: open
title: Incorrect __text_signature__ for the __get__ slot wrapper

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35979>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to