New python operator 3.8.5

Asked

Viewed 32 times

1

Python 3.8.5 added operator :=, I wonder what it’s for

  • Nothing like the documentation: "There is new syntax := that assigns values to variables as part of a Larger Expression.". In https://docs.python.org/3/whatsnew/3.8.html. has example of use in the first item.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.