Slice infinite generators with this Python 3.7 feature

Posted by bob on May 20, 2021 4:58 AM EDT
Opensource.com
Mail this story
Print this story

This is the eighth in a series of articles about features that first appeared in a version of Python 3.x. Python 3.7 was first released in 2018, and even though it has been out for a few years, many of the features it introduced are underused and pretty cool. Here are three of them. Postponed evaluation of annotations In Python 3.7, as long as the right __future__ flags are activated, annotations are not evaluated during runtime: read more

Full Story

  Nav
» Read more about: Groups: Python; Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.