[Zope-Checkins] CVS: Zope3/lib/python/Interface/Common - Mapping.py:1.1.2.5
Philipp von Weitershausen
philikon@gmx.net
Wed, 10 Apr 2002 09:54:34 -0400
Update of /cvs-repository/Zope3/lib/python/Interface/Common
In directory cvs.zope.org:/tmp/cvs-serv6608/lib/python/Interface/Common
Modified Files:
Tag: Zope-3x-branch
Mapping.py
Log Message:
Extended Interface IReadMapping with the has_key() method and
updated the corresponding implementations and tests.
=== Zope3/lib/python/Interface/Common/Mapping.py 1.1.2.4 => 1.1.2.5 ===
"""
+ def has_key(key):
+ """Tell if a key exists in the mapping
+ """
+
class IEnumerableMapping(IReadMapping):
"""Mapping objects whose items can be enumerated
"""