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

2009-02-23 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r69905. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

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

2009-02-23 Thread Matteo Dell'Amico
New submission from Matteo Dell'Amico : 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 d