def  OrderedDict_example():
    ''' keep the order of insertion.
        maintains a doubly linked list, so size is more than twice than normal dict'''


    pairs = [('a', 1), ('b',2), ('c',3)]

    d1 = {}
    for key, value in pairs:
        if key not in d1:
            d1[key] = []
        d1[key].append(value)
    for key in d1:
        print(key, d1[key])

    d2 = OrderedDict(pairs)
    for key in d2:
        print(key, d2[key])
Dispatch a background thread request.
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/USEFUL/basic_examples/example_OrderedDict.py/OrderedDict_example--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/request_info.py/_LocalFakeDispatcher.send_background_request