Message82632
| Author | della |
|---|---|
| Recipients | della, georg.brandl |
| Date | 2009-02-23.15:47:06 |
| SpamBayes Score | 0.00045888408 |
| Marked as misclassified | No |
| Message-id | <1235404029.66.0.0650710952765.issue5352@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The str.count (http://docs.python.org/dev/py3k/library/stdtypes.html) documentation does not report that it returns the number of *non-overlapping* instances. For example, I expected 'aaa'.count('aa') to be 2 and not 1. Compare this with the string module documentation, where the non-overlapping clause is reported. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-02-23 15:47:09 | della | set | recipients: + della, georg.brandl |
| 2009-02-23 15:47:09 | della | set | messageid: <1235404029.66.0.0650710952765.issue5352@psf.upfronthosting.co.za> |
| 2009-02-23 15:47:07 | della | link | issue5352 messages |
| 2009-02-23 15:47:06 | della | create | |