summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/calltip.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-01-03 09:44:47 (GMT)
committerGitHub <noreply@github.com>2019-01-03 09:44:47 (GMT)
commit3c83cb7eed4f0e8b9f1cbf39263a2053a2483cb0 (patch)
treee770511721c8cf475bfd1c2255e081d4893237e8 /Lib/idlelib/calltip.py
parentb364caa39999658e843151602356e527851d6c68 (diff)
downloadcpython-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.py2
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