Issue5352
Created on 2009-02-23 15:47 by della, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg82632 - (view) | Author: Matteo Dell'Amico (della) | Date: 2009-02-23 15:47 | |
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. |
|||
| msg82633 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2009-02-23 15:51 | |
Thanks, fixed in r69905. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:46 | admin | set | github: 49602 |
| 2009-02-23 15:51:37 | georg.brandl | set | status: open -> closed resolution: fixed messages: + msg82633 |
| 2009-02-23 15:47:07 | della | create | |
