This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | facundobatista |
|---|---|
| Recipients | barry, facundobatista, rbcollins |
| Date | 2007年10月16日.02:27:13 |
| SpamBayes Score | 0.16081315 |
| Marked as misclassified | No |
| Message-id | <1192501634.07.0.0876382697754.issue1259@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Documentation for find(): str.find(sub[, start[, end]]) Return the lowest index in the string where substring sub is found, such that sub is contained in the range [start, end]. Optional arguments start and end are interpreted as in slice notation. Return -1 if sub is not found. I think that it shouldn't be possible to call it with None arguments. The error message is wrong: it's a TypeError, but the message should say something like... TypeError: slice indices must be integers or have an __index__ method If you're ok with this change, assign this bug to me and I'll fix it. Regards, |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007年10月16日 02:27:14 | facundobatista | set | spambayes_score: 0.160813 -> 0.16081315 recipients: + facundobatista, barry, rbcollins |
| 2007年10月16日 02:27:14 | facundobatista | set | spambayes_score: 0.160813 -> 0.160813 messageid: <1192501634.07.0.0876382697754.issue1259@psf.upfronthosting.co.za> |
| 2007年10月16日 02:27:14 | facundobatista | link | issue1259 messages |
| 2007年10月16日 02:27:13 | facundobatista | create | |