Skip to content
Discussion options

You must be logged in to vote

{**d1, **d2} is a Python 3.5 feature, described in PEP 448. MicroPython is Python 3.4 with a selection of features from later versions (including some features from that same PEP).

This is a slightly controversial feature, to the extent that they "replaced" it with the | operator -- i.e. d1 | d2 -- described in PEP 584 (which was added in Python 3.9)

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Beormund
Comment options

You must be logged in to vote
1 reply
@dlech
Comment options

Comment options

You must be logged in to vote
4 replies
@peterhinch
Comment options

@dlech
Comment options

@peterhinch
Comment options

@jimmo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants