Python “extend” for a dictionary

a.update(b)

Latest Python Standard Library Documentation

Leave a Comment