This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author py.user
Recipients py.user
Date 2011-05-24.02:10:25
SpamBayes Score 7.635523e-10
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
specification says
[code]
str.count(sub[, start[, end]])

    Return the number of non-overlapping occurrences of substring sub in the range [start, end]. Optional arguments start and end are interpreted as in slice notation.
[/code]

[code]
>>> ''.count('', None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: slice indices must be integers or None or have an __index__ method
>>>
[/code]
History
Date User Action Args
2011-05-24 02:10:26py.usersetrecipients: + py.user
2011-05-24 02:10:26py.usersetmessageid: <[email protected]>
2011-05-24 02:10:26py.userlinkissue12163 messages
2011-05-24 02:10:25py.usercreate