python中的None
The sole value of the type NoneType. None is frequently used to represent the absence of a value, as when default arguments are not passed to a function. Assignments to None are illegal and raise a SyntaxError.
Python中有一种NoneType的对象类型,None是这个类型的唯一值。也就是说,None是一个对象,其类型为NoneType,作为一个对象其布尔值为False。
posted on 2018-12-04 21:47 JesseChang 阅读(544) 评论(0) 收藏 举报
浙公网安备 33010602011771号