Skip to content

Glossary: Coding with AI Assistants

Type hint

Also written: type hints, type annotation

A note on a parameter or result's type, such as `sku: str` or `-> Decimal`. Python doesn't check it, so read it as documentation.

Where the book teaches it

Related terms

Docstring