The Python Papers

The Python Papers

Python Basic Type Hinting

Mike Driscoll's avatar
Mike Driscoll
Feb 10, 2026
∙ Paid

When Python first added type hinting to the language in version 3.5, you could only add type hints to functions. However, in Python 3.6, the language added the ability to annotate variables as well. Over the following years, Python has steadily added more features to its type hinting capabilities and slowly refined the typing interface.

You will be study…

User's avatar

Continue reading this post for free, courtesy of Mike Driscoll.

Or purchase a paid subscription.
© 2026 Mike Driscoll · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture