[issue45456] 'pass' in 'if-else' linear expression

2021-10-12 Thread wyz23x2


wyz23x2  added the comment:

Well,
x = 1 if False else pass
and
if False: x = 1

1 line vs 1 line :) It's just not needed.

--
nosy: +wyz23x2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45456] 'pass' in 'if-else' linear expression

2021-10-12 Thread Evgeniy Ivanov


Change by Evgeniy Ivanov :


--
title: operator 'pass' in 'if-else' linear expression -> 'pass' in 'if-else' 
linear expression

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com