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 <rep...@bugs.python.org> <http://bugs.python.org/issue16638> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com