• Skip to main content
  • Skip to after header navigation
  • Skip to site footer

Free-Mail

  • Events
  • Images
    • Instagram Goodness
  • Music
  • News
  • Software

How Python 3.9 fixed decorators and improved dictionaries

How Python 3.9 fixed decorators and improved dictionaries: Python in a coffee cup.

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 dictionaries

Say 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: Opensource.com Moshe Zadka

Supporting Open Source.

Have you tried: Visiting Port Elizabeth?

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Pinterest (Opens in new window) Pinterest
  • Email a link to a friend (Opens in new window) Email
  • More
  • Share on Tumblr (Opens in new window) Tumblr
  • Print (Opens in new window) Print
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
Published on 21 May 2021 by Alan Category: SoftwareTag: decorators, dictionaries, Fixed, improved, Python

New data shows what it takes to be in South Africa’s richest 10%

South Africa in the news: New data shows what it takes to be in South Africa’s richest 10%: New …

Read moreNew data shows what it takes to be in South Africa’s richest 10%

Holy Name Cemetery to Host Final Open House Weekend of 2026, November 7 and 8

Last opportunity for Hudson County families to receive 0% financing for 48 months, an offer that …

Read moreHoly Name Cemetery to Host Final Open House Weekend of 2026, November 7 and 8

Pumas coach Ledesma rues handing easy points to Wallabies

South Africa in the news: Pumas coach Ledesma rues handing easy points to Wallabies: Coach Mario …

Read morePumas coach Ledesma rues handing easy points to Wallabies

About Alan

Previous Post:Singa – Guest Bedroom
Next Post:Trending Now: Salma Hayek

Reach Trust

Reach Trust is a holding trust for a number of companies within the Stratlec Group.

Copyright © 2026 · Free-Mail · All Rights Reserved · Powered by Straton Electrical

Back to top