[Python-ideas] Yet another idea for assignment expressions

Rhodri James rhodri at kynesim.co.uk
Wed May 2 08:13:59 EDT 2018


On 02/05/18 07:21, Ken Hilton wrote:
> Going back to the regex example, this is how it would look in that case:
> 
>      if re.match(exp, string){m}:
>          print(m.group(0))

The various other options at least suggest that in some manner what is 
going on is an assignment.  This really doesn't.  Sorry, it's just too 
magic.

-- 
Rhodri James *-* Kynesim Ltd


More information about the Python-ideas mailing list