[Python-bugs-list] [ python-Bugs-461980 ] __contains__() underdocumented

noreply@sourceforge.net noreply@sourceforge.net
Tue, 18 Sep 2001 10:53:21 -0700


Bugs item #461980, was opened at 2001-09-16 00:38
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=461980&group_id=5470

Category: Documentation
Group: Python 2.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Barry Warsaw (bwarsaw)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: __contains__() underdocumented

Initial Comment:
In
http://python.sourceforge.net/devel-docs/ref/sequence-types.html#l2h-126
__contains__() is mentioned, and it's recommended that
mappings and sequences implement them, but it's
signature and semantics are not described.


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-09-18 10:53

Message:
Logged In: YES 
user_id=3066

__contains__() is described in the next section, "Additional
methods for emulation of sequence types."  Both references
are included in the index.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=461980&group_id=5470