3 ms·
> 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 calle
by fer 4y ago
> 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.