diff options
author | Emmanuel Arias <emmanuelarias30@gmail.com> | 2019-01-03 07:47:58 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-01-03 07:47:58 (GMT) |
commit | ab54b9a130c88f708077c2ef6c4963b632c132b3 (patch) | |
tree | 7f57fa7d5bdd93e0774089123792cd92bc7ff083 /Lib/idlelib/calltip.py | |
parent | aff0adabf3ace62073076f4ce875ff568f2d3180 (diff) | |
download | cpython-ab54b9a130c88f708077c2ef6c4963b632c132b3.zip cpython-ab54b9a130c88f708077c2ef6c4963b632c132b3.tar.gz cpython-ab54b9a130c88f708077c2ef6c4963b632c132b3.tar.bz2 |
bpo-35641: IDLE - format calltip properly when no docstring (GH-11415)
Diffstat (limited to 'Lib/idlelib/calltip.py')
-rw-r--r-- | Lib/idlelib/calltip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/calltip.py b/Lib/idlelib/calltip.py index 758569a..2a9a131 100644 --- a/Lib/idlelib/calltip.py +++ b/Lib/idlelib/calltip.py @@ -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 |