Article 5J4DW LXer: How Python 3.9 fixed decorators and improved dictionaries

LXer: How Python 3.9 fixed decorators and improved dictionaries

by
LXer
from LinuxQuestions.org on (#5J4DW)
Published at LXer:

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

Read More...latest?d=yIl2AUoC8zA latest?i=yx7HYercZO0:Z-r601oCmaA:F7zBnMy latest?i=yx7HYercZO0:Z-r601oCmaA:V_sGLiP latest?d=qj6IDK7rITs latest?i=yx7HYercZO0:Z-r601oCmaA:gIN9vFwyx7HYercZO0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments