A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-April/153002.html below:

[Python-Dev] PEP 572: Assignment Expressions

[Python-Dev] PEP 572: Assignment Expressions [Python-Dev] PEP 572: Assignment ExpressionsMike Miller python-dev at mgmiller.net
Tue Apr 24 16:23:31 EDT 2018
On 2018-04-24 12:59, Chris Angelico wrote:
> Aside from the restriction to binding only to a simple name, and the
> fact that they're also an expression with the same value, how are they
> not the same as plain assignment? Any discrepancies should be
> considered bugs.

Slightly different in that they return the value, and are expressions not 
assignment statements.

Now, I agree that's not a difference of much consequence, but the difference 
from "import as" is not either.

-Mike

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4