[issue19903] Idle: Use inspect.signature for calltips

Louie Lu report at bugs.python.org
Fri May 5 03:16:56 EDT 2017


Louie Lu added the comment:

But somehow in this case, List have no __text_signature__:

>>> str(i.signature(list))
'(iterable=(), /)'
>>> list.__text_signature__
'(iterable=(), /)'
>>> str(i.signature(List))
'(iterable=(), /)'
>>> List.__text_signature__
>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19903>
_______________________________________


More information about the Python-bugs-list mailing list