None
in Python is a reserved word, just a question crossed my mind about the exact value of None
in memory. What I\'m holding in my mind is this, <
It turns out that None consumes 16 bytes and that's actually too much for simply an empty value.
None ist not an empty value. It is an NoneType
object which represents the absence of a value as you can read here: Python Built-in constants Doc. You can assign None
to variables, but you can't assign to None, as it would raise an syntax error.