News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by fer on Friday April 22, 2022 @02:25AM (#31118832)
> Python can't be said to enforce types at runtime.

It does: in form of TypeError exceptions. It doesn't enforce type hints, sure, but that's why they're called hints and not declarations.

There are no comments on this comment yet.