Typo: has_item() should be has_key(). Thanks Moshe.

This commit is contained in:
Guido van Rossum 2001-04-28 16:10:39 +00:00
parent 072638b586
commit e5aa4a1379
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ Specification of the class-based introspection API
A regular object may have a __dict__ attribute. If it does,
this should be a mapping (not necessarily a dictionary)
supporting at least __getitem__, keys(), and has_item(). This
supporting at least __getitem__, keys(), and has_key(). This
gives the dynamic attributes of the object. The keys in the
mapping give attribute names, and the corresponding values give
their values.