0
Why 'none' is considered special in python???
3 Respuestas
+ 3
None is just a value that commonly is used to signify 'empty', or 'no value here'. It is a signal object; it only has meaning because the Python documentation says it has that meaning.
There is only one copy of that object in a given Python interpreter session.
If you write a function, and that function doesn't use an explicit return statement, None is returned instead, for example. That way, programming with functions is much simplified; a function always returns something, even if it is only that one None object.
+ 1
It's a placeholder
+ 1
thanks @Maninder Singh and @PureLogicality