Author chris.jerdonek
Recipients chris.jerdonek, roger.serwy, serhiy.storchaka, terry.reedy
Date 2012-12-07.20:28:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354912090.49.0.978290021351.issue16638@psf.upfronthosting.co.za>
In-reply-to
Content
[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.
History
Date User Action Args
2012-12-07 20:28:10chris.jerdoneksetrecipients: + chris.jerdonek, terry.reedy, roger.serwy, serhiy.storchaka
2012-12-07 20:28:10chris.jerdoneksetmessageid: <1354912090.49.0.978290021351.issue16638@psf.upfronthosting.co.za>
2012-12-07 20:28:10chris.jerdoneklinkissue16638 messages
2012-12-07 20:28:10chris.jerdonekcreate