[issue41689] allow __text_signature__ to work for c heap types

Benjamin Peterson report at bugs.python.org
Wed Sep 2 00:37:01 EDT 2020


New submission from Benjamin Peterson <benjamin at python.org>:

C types can add a signature to their __doc__. Currently, PyType_FromSpec just deletes such signatures instead of making them visible from __text_signature__.

----------
components: C API
messages: 376216
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: allow __text_signature__ to work for c heap types
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41689>
_______________________________________


More information about the Python-bugs-list mailing list