mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-35641: IDLE - format calltip properly when no docstring (GH-11415)
This commit is contained in:
parent
aff0adabf3
commit
ab54b9a130
4 changed files with 32 additions and 1 deletions
|
@ -167,7 +167,7 @@ def get_argspec(ob):
|
|||
if len(line) > _MAX_COLS:
|
||||
line = line[: _MAX_COLS - 3] + '...'
|
||||
lines.append(line)
|
||||
argspec = '\n'.join(lines)
|
||||
argspec = '\n'.join(lines)
|
||||
if not argspec:
|
||||
argspec = _default_callable_argspec
|
||||
return argspec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue