News for hackers. Stuff that matters.
Re:The different uses of Python type hints by jselysianeagle on Saturday April 15, 2023 @09:24PM (#35586394)
The idea with type hints in Python though is that they’re meant to be checked using some static analysis tool like mypy/pyright/etc. The runtime behavior for the most part remains unchanged in the sense that the Python interpreter won’t enforce the types in cases such as the one you’ve provided.

There are no comments on this comment yet.