The passstatement is usually a placeholder for future code and is used as a null operation.
But why it's not defined a type in Python. Should't it belong to None type?
The passstatement is usually a placeholder for future code and is used as a null operation.
But why it's not defined a type in Python. Should't it belong to None type?
Objects have types. Statements do not. pass is a statement, and does not have a type. (Also, None is not a type.)