Commit d126f3c8 authored by Martijn Pieters's avatar Martijn Pieters

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.
parent 12d85f37
......@@ -16,7 +16,7 @@ class QueryMapping(Mapping):
"""Check whether the object has an item with the given key"""
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.
......
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