[issue5352] Missing 'non overlapping' clause in str.count documentation

2009-02-23 Thread Matteo Dell'Amico
New submission from Matteo Dell'Amico de...@linux.it: 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

[issue5352] Missing 'non overlapping' clause in str.count documentation

2009-02-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r69905. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5352 ___