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.

classification
Title: Start and end parameters for list.count()
Type: enhancement Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: cito, rhettinger
Priority: normal Keywords:

Created on 2005-12-01 15:12 by cito, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg54688 - (view) Author: Christoph Zwerschke (cito) * Date: 2005-12-01 15:12
For lists and strings, the index() method has start and
end parameters. For strings, the count() method has
start and end parameters as well. But for lists, the
count() method has no such parameters. I think it may
be a good idea to allow start and end parameters for
count() on lists as well, if only for consistency reasons.
msg54689 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-12-16 17:27
Logged In: YES 
user_id=80475

See discussion for patch 1382087.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42648
2005-12-01 15:12:33citocreate