Comment

Comment by ralston

Python 3.5+

  >>> first = {"a": 1}
  >>> second = {"b": 2}
  >>> merged = {**x, **y}
  >>> print(merged)
  {"a": 1, "b": 2}
parent ralston 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton