def pop(obj, key):
    """
    A poper which returns None if the value isn't present.

    @param obj: The object to pop from
    @param key: The key to pop
    @type key: str
    """
    try:
        return obj.pop(key)
    except KeyError:
        return None