From ab54b9a130c88f708077c2ef6c4963b632c132b3 Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Thu, 3 Jan 2019 04:47:58 -0300 Subject: bpo-35641: IDLE - format calltip properly when no docstring (GH-11415) --- Lib/idlelib/calltip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/idlelib/calltip.py') diff --git a/Lib/idlelib/calltip.py b/Lib/idlelib/calltip.py index 758569a45f..2a9a131ed9 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 -- cgit v1.2.1