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-July/154282.html below:

[Python-Dev] Examples for PEP 572

[Python-Dev] Examples for PEP 572Steven D'Aprano steve at pearwood.info
Wed Jul 4 09:35:39 EDT 2018
On Wed, Jul 04, 2018 at 05:02:07PM +1000, Chris Angelico wrote:
> On Wed, Jul 4, 2018 at 4:07 PM, Serhiy Storchaka <storchaka at gmail.com> wrote:

> "Assignment is a statement" -- that's exactly the point under discussion.
 
Not any more it isn't. We've now gone from discussion to bitter 
recriminations *wink*


> "del is a statement" -- yes, granted
> 
> "function and class declarations are statements" -- class, yes, but
> you have "def" and "lambda" as statement and expression equivalents.

Even class can be re-written as a call to type(), if you need to. It's 
probably not practical to do so in anything but the simplest cases, but 
it is there.



-- 
Steve
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