a.update(b)

Latest Python Standard Library Documentation