Mastering Python Dictionary Extensions with PEP 448! 🐍💡 #PythonTips #CodeEfficiency #Shorts

preview_player
Показать описание
In this video I cover a python trick introduced in 2015 by PEP 448 – Additional Unpacking Generalizations
"This PEP proposes extended usages of the * iterable unpacking operator and ** dictionary unpacking operators to allow unpacking in more positions, an arbitrary number of times, and in additional circumstances. Specifically, in function calls, in comprehensions and generator expressions, and in displays."

The video covers a trick to use this unpacking operator to extend your dictionaries in a more elegant manner.

Music by FASSounds from Pixabay
Рекомендации по теме
Комментарии
Автор

based pythoncell, extremely pog. much wow

gumballfactory
visit shbcf.ru