93,700 results
Open links in new tab
  1. Type annotations — typing documentation

    The terms type expression and annotation expression denote specific subsets of Python expressions that are used in the type …Read more

  2. typing — Support for type hints — Python 3.15.2 documentation

    1 day ago · Type-checker-agnostic documentation written by the community detailing type system features, useful typing related …Read more

  3. Type Hints in Python - GeeksforGeeks

    May 3, 2025 · Type hints are a feature in Python that allow developers to annotate their code with expected types for variables and …Read more

  4. Type annotations — Interactive Python Course

    How to hint argument and result types: annotation syntax, collections, the X | None notation and type aliases.

  5. Understanding type annotation in Python - LogRocket Blog

    Jan 3, 2022 · In this extensive post with specific examples, learn how to use Python type annotation to your advantage using the …Read more

  6. The Python Type System — typing documentation

    The type system aims to provide a standard syntax for type annotations, opening up Python code to easier static analysis and …Read more

  7. Annotations Best Practices — Python 3.15.2 documentation

    1 day ago · If you need the annotations of an instance, you can use type () to access its class (for example, …Read more

  8. 1.5 Python Type Annotations — CSC148 Course Notes

    In this course, we will document the types of all functions and class instance attributes. We’ll use Python’s type annotation syntax to …Read more

  9. Python 3.14: Lazy Annotations

    Aug 27, 2025 · You use Python annotations primarily for type hinting, which assists with static type checking, code documentation, …Read more

  10. Function Annotations in Python - GeeksforGeeks

    May 10, 2019 · Function annotations are arbitrary python expressions that are associated with various part of functions. These …Read more