Commit 2d4233a0 authored by Thomas Lotze's avatar Thomas Lotze

added missing __getitem__ method to IMinimalDictionary, fixed another doc string

parent ad957920
......@@ -140,13 +140,19 @@ class IMinimalDictionary(ISized, IKeyed):
Return the default if has_key(key) is false.
"""
def __getitem__(key):
"""Get the value associated with the given key.
Raise KeyError if has_key(key) is false.
"""
def __setitem__(key, value):
"""Set the value associated with the given key."""
def __delitem__(key):
"""Delete the value associated with the given key.
Raise KeyError if the key if has_key(key) is false.
Raise KeyError if has_key(key) is false.
"""
def values(min=None, max=None, excludemin=False, excludemax=False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment