/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Dict Unpacking in Python
(github.com)
101 points
_ZeD_
| 1 comments |
08 Jul 25 16:05 UTC
|
HN request time: 0.86s
|
source
1.
kristjansson
◴[
12 Jul 25 03:35 UTC
]
No.
44539069
[source]
▶
>>44501287 (OP)
#
While not nearly as fun as the OP, I’d note that this sort of unpacking is very pleasant in the newish PEP636 match case statements:
https://peps.python.org/pep-0636/#matching-builtin-classes
ID:
GO
↑