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

Hongyi Zhao hongyi.zhao at gmail.com
Sun Sep 1 02:12:16 EDT 2019


Hi,

The following two forms are always equivalent:

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

Regards



More information about the Python-list mailing list