Created
November 27, 2019 16:12
-
-
Save rainulf/3a9c76520290b71ddaef5c73025faa2f to your computer and use it in GitHub Desktop.
Python: dict diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
value = { k : b.data[k] for k in set(b.data) - set(a.data) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment