[New-bugs-announce] [issue5352] Missing 'non overlapping' clause in str.count documentation
Matteo Dell'Amico
report at bugs.python.org
Mon Feb 23 16:47:09 CET 2009
New submission from Matteo Dell'Amico <della at 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 string module documentation,
where the non-overlapping clause is reported.
----------
assignee: georg.brandl
components: Documentation
messages: 82632
nosy: della, georg.brandl
severity: normal
status: open
title: Missing 'non overlapping' clause in str.count documentation
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5352>
_______________________________________
More information about the New-bugs-announce
mailing list