Message82632
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. |
|
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 | |
|