[ python-Feature Requests-1370948 ] Start and end parameters for list.count()

SourceForge.net noreply at sourceforge.net
Fri Dec 16 18:27:43 CET 2005


Feature Requests item #1370948, was opened at 2005-12-01 10:12
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1370948&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: Start and end parameters for list.count()

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-12-16 12:27

Message:
Logged In: YES 
user_id=80475

See discussion for patch 1382087.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1370948&group_id=5470


More information about the Python-bugs-list mailing list