Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def updated(leftdict, rightdict):
    leftdict.update(rightdict)
    return leftdict
        


src/p/i/pinyin-toolkit-HEAD/pinyin/statistics.py   pinyin-toolkit(Download)
        # FIXME: this doesn't account for midnightOffset
        day = int((firstAnswered - endOfDay) / 86400.0)
        firstLearnedByDay[day] = utils.updated(firstLearnedByDay.get(day, set()), set(value))
 
        # Record the earliest moment at which we answered any question