Glossary: Python Beyond the Basics
type hint
Also written: type hints, type annotation
A note of what type a value should be, such as `price: float` or `-> float | None`. Python ignores hints when running, but people and tools like VS Code and mypy use them.