git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

``if var'' and ``if var is not None''


On 9/1/2019 2:12 AM, Hongyi Zhao wrote:

> The following two forms are always equivalent:
> ``if var'' and ``if var is not None''

Aside from the fact that this is false, why would you post such a thing? 
  Trolling?  Did you hit  [Send] prematurely?


-- 
Terry Jan Reedy