def defaultargs(options):
    l = {}
    for (longname, default, doc) in options:
        if default is not None:
            l[longname] = default
    return l
dataset/ETHPy150Open Cclleemm/FriendlyTorrent/src/tornado/BitTornado/parseargs.py/defaultargs/original