Nullability is an interface, not a data type. Python objects can always be None, as per duck typing.
Python has a strong dynamic typing system, with metatypes, type rewriting and so on. You couldn't be more wrong.
What it is missing is an easy way to declare interfaces - the idea is to use duck typing and handling exceptions when something goes wrong.
Comments
Nullability is an interface, not a data type. Python objects can always be None, as per duck typing.
Python has a strong dynamic typing system, with metatypes, type rewriting and so on. You couldn't be more wrong. What it is missing is an easy way to declare interfaces - the idea is to use duck typing and handling exceptions when something goes wrong.
If its None, it neither looks, acts nor quacks like a duck.