from collections import defaultdict
phone_book = defaultdict(list)

def add_number(name, number):
    phone_book[name].append(number)
Is there a nice idiom for adding a new list or appending to a list (if present) in a dictionary?