Does python support the expression "a = b | 1"???

Wenhua Zhao whzhao at gmail.com
Wed Oct 5 11:17:47 CEST 2005


a = b | 1

a = b if b != nil
else a =1

Is there such expression in python?

Thanks a lot!



More information about the Python-list mailing list