diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-01-03 09:44:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-03 09:44:47 (GMT) |
commit | 3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0 (patch) | |
tree | e770511721c8cf475bfd1c2255e081d4893237e8 /Lib/idlelib/calltip.py | |
parent | b364caa39999658e843151602356e527851d6c68 (diff) | |
download | cpython-3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0.zip cpython-3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0.tar.gz cpython-3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0.tar.bz2 |
bpo-35641: IDLE - format calltip properly when no docstring (GH-11415)
(cherry picked from commit ab54b9a130c88f708077c2ef6c4963b632c132b3)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
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 |