def update_week(sched, year, stype, week):
 for game in week_schedule(year, stype, week):
  sched[game['eid']] = game

def update_week ( sched , year , stype , week ) : for game in week_schedule ( year , stype , week ) : sched [ game [ 'eid' ] ] = game
updates the schedule for the given week in place .