Python 3.9
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🐍" title="Schlange" aria-label="Emoji: Schlange"> is out!
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🥳" title="Partying face" aria-label="Emoji: Partying face">
Here are the 5 new features you care about.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🧵" title="Thread" aria-label="Emoji: Thread">
https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Rückhand Zeigefinger nach unten" aria-label="Emoji: Rückhand Zeigefinger nach unten">
Here are the 5 new features you care about.
There& #39;s a new operator "|" that can be used to merge two dictionaries.
See PEP 584 for more information: https://www.python.org/dev/peps/pep-0584/
Another new operator "|=" will let you update dictionaries.
See PEP 584 for more information: https://www.python.org/dev/peps/pep-0584/
There are two new methods added to the str object to remove the prefix and suffix of the string.
We don& #39;t need to rely anymore on a much more fragile approach like slicing to do this.
For more info: https://www.python.org/dev/peps/pep-0616
You can now use list or dict built-in collection types as generics in the signature of a function.
This makes the code much more readable and explicit.
More information: https://www.python.org/dev/peps/pep-0585
Why do you care? Well, this parser is much more flexible than the old one, and it will pay off dividends starting with Python 3.10.
More information here: https://www.python.org/dev/peps/pep-0617
There are many other changes and improvements. This includes new modules and several fixes across the language.
You can take a look at the full release notes here: https://docs.python.org/3.9/whatsnew/3.9.html">https://docs.python.org/3.9/whats...
You can take a look at the full release notes here: https://docs.python.org/3.9/whatsnew/3.9.html">https://docs.python.org/3.9/whats...