[Zope-Checkins] CVS: Zope/lib/python/Interface - Mapping.py:1.3.76.1
Martijn Pieters
mj@zope.com
Tue, 4 Jun 2002 16:39:24 -0400
Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv10156/lib/python/Interface
Modified Files:
Tag: Zope-2_5-branch
Mapping.py
Log Message:
Although the verification methods don't detect the difference, we still want to
show that mapping.get(key, default) has a default value for default.
=== Zope/lib/python/Interface/Mapping.py 1.3 => 1.3.76.1 ===
- def get(key, default):
+ def get(key, default=None):
"""Get the value for the given key
Return the default if the key is not in the collection.