How do I check whether an arbitrary object is 'None' or not?
This question already has an answer here:
试试这个检查对象是否为None
if obj is None: print 'Object is none'
链接地址: http://www.djcxy.com/p/76642.html
上一篇: 什么时候在JavaScript中使用null或undefined?
下一篇: 如何检查任意对象是否为'None'?