Linux
How Python 3.9 fixed decorators and improved dictionaries
This is the tenth in a series of articles about features that first appeared in a version of Python 3.x. Some of these versions have been out for a while. Python 3.9 was first released in 2020 with cool new features that are still underused. Here are three of them.Adding dictionariesSay you have a dictionary with “defaults,” and you want to update it with parameters. Before Python 3.9, the best option was to copy the defaults dictionary and then use the .update() method.read more