[Patches] [Patch #103693] tupleobject.c: implement tuple.index() and tuple.count()

noreply@sourceforge.net noreply@sourceforge.net
Thu, 15 Feb 2001 05:49:36 -0800


Patch #103693 has been updated. 

Project: python
Category: core (C code)
Status: Closed
Submitted by: mfx
Assigned to : gvanrossum
Summary: tupleobject.c: implement tuple.index() and tuple.count()

Follow-Ups:

Date: 2001-Feb-15 05:49
By: gvanrossum

Comment:
Why bother?  I like the fact that when you want to do list-ish things you
have to use lists.  Use list(t).count(x) if you really want this for a
tuple.

I'm rejecting this in the name of all those users who want Python to be
small.
-------------------------------------------------------

Date: 2001-Feb-09 16:13
By: jhylton

Comment:
interested in adding this to 2.1?

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

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=103693&group_id=5470