[Python-ideas] [Python-Dev] What's the status of PEP 505: None-aware operators?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 29 16:34:35 EST 2017


Stephan Houben wrote:

> A if is not None else C

Reading that gives me the feeling that something in my
brain has slipped a tooth.

It would read better with some kind of pronoun in there:

    A if it is not None else C

Hypercard's Hypertalk had a special variable "it" that
worked sort of like that.

-- 
Greg


More information about the Python-ideas mailing list