[Zodb-checkins] SVN: ZODB/trunk/src/BTrees/Interfaces.py Documented
KeyError on remove
Christian Zagrodnick
cz at gocept.com
Thu Jun 5 05:04:53 EDT 2008
Log message for revision 87160:
Documented KeyError on remove
Changed:
U ZODB/trunk/src/BTrees/Interfaces.py
-=-
Modified: ZODB/trunk/src/BTrees/Interfaces.py
===================================================================
--- ZODB/trunk/src/BTrees/Interfaces.py 2008-06-05 07:56:25 UTC (rev 87159)
+++ ZODB/trunk/src/BTrees/Interfaces.py 2008-06-05 09:04:52 UTC (rev 87160)
@@ -99,8 +99,11 @@
"""
def remove(key):
- """Remove the key from the set."""
+ """Remove the key from the set.
+ Raises KeyError if key is not in the set.
+ """
+
def update(seq):
"""Add the items from the given sequence to the set."""
More information about the Zodb-checkins
mailing list