from typing import OrderedDict


def ordered_dict(iterable):
    """Create an OrderedDict from an iterable of (key, value) tuples.
    """
    ordict = OrderedDict()
    for key, value in iterable:
        ordict[key] = value
    return ordict