[issue16638] support multi-line docstring signatures in IDLE calltips

Chris Jerdonek report at bugs.python.org
Fri Dec 7 21:28:10 CET 2012


Chris Jerdonek added the comment:

[Continuing a discussion/question from the issue 16629 comments]

> > For example, why not be smarter about detecting the end of the signature (e.g. first line not having "->")?
> The objection is that there are such signatures:
>     foo(a, b, c,
          e, f, g) -> some result

I meant the first line after the first line without a "->", but good point.

What are some examples of "false positives" that we would want to exclude?  If there are examples of docstrings beginning with large amounts of text and no signature, we could look for a string of the form "func(" at the beginning of a line to know whether a signature has actually begun.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16638>
_______________________________________


More information about the Python-bugs-list mailing list