[Zope-Checkins] CVS: Zope3/lib/python/Interface/Common - Mapping.py:1.1.2.1.2.1
Jim Fulton
jim@zope.com
Mon, 18 Mar 2002 15:44:56 -0500
Update of /cvs-repository/Zope3/lib/python/Interface/Common
In directory cvs.zope.org:/tmp/cvs-serv7215
Modified Files:
Tag: Zope3-publisher-refactor-branch
Mapping.py
Log Message:
Renamed IMapping to IReadMapping.
Added unit test base classes.
=== Zope3/lib/python/Interface/Common/Mapping.py 1.1.2.1 => 1.1.2.1.2.1 ===
from Interface import Interface
-class IMapping(Interface):
+class IReadMapping(Interface):
"""Basic mapping interface
"""
@@ -35,7 +35,7 @@
The default is returned if there is no value for the key.
"""
-class IEnumerableMapping(IMapping):
+class IEnumerableMapping(IReadMapping):
"""Mapping objects whose items can be enumerated
"""