Re:Python’s “type hints” are a bit of a disappointment to me
by sevensor on Thursday April 21, 2022 @07:37PM
(#31116517)
Python enforces its runtime types at runtime. 'hello' is a perfectly valid argument to print. Python will raise a TypeError if you try to use it to index a list though.
[ Parent
| on HN ]
There are no comments on this comment yet.