[Zope-Checkins] CVS: Zope/lib/python/Interface - Mapping.py:1.4

Martijn Pieters mj@zope.com
Tue, 4 Jun 2002 16:38:46 -0400


Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv9995

Modified Files:
	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.4 ===
 
 
-    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.