Python typing module

E887713

The Python typing module is a standard library component that adds support for type hints and static type checking to Python code, enabling clearer interfaces and improved tooling.

Try in SPARQL Jump to: Surface forms Statements Referenced by

Observed surface forms (5)

Surface form Occurrences
Type Hints 1
typing.Callable 1
typing.Mapping 1

Statements (50)

Predicate Object
instanceOf Python standard library module
type hinting library
backportedBy typing_extensions NERFINISHED
definedInPEP PEP 484 NERFINISHED
defines Any
Callable
ClassVar
Final
ForwardRef
Generic
Literal
NewType NERFINISHED
NoReturn
Optional
Protocol
TypeVar
TypedDict
Union NERFINISHED
get_type_hints
overload
runtime_checkable
enables static type checking
extendedByPEP PEP 526 NERFINISHED
PEP 544 NERFINISHED
PEP 560 NERFINISHED
PEP 585 NERFINISHED
PEP 604 NERFINISHED
PEP 649 NERFINISHED
improves code readability
tooling support
introducedInVersion Python 3.5 NERFINISHED
language Python NERFINISHED
license Python Software Foundation License NERFINISHED
location Lib/typing.py
partOf Python standard library NERFINISHED
provides type hints support
relatedTo typing_extensions NERFINISHED
replacedBy built-in generic types in Python 3.9+
supports forward references
generic types
nominal subtyping
parametric polymorphism
runtime introspection of annotations
static type checkers
structural subtyping
type aliases
usedBy PyCharm type checker
mypy NERFINISHED
pylance NERFINISHED
pyright

Referenced by (6)

Full triples — surface form annotated when it differs from this entity's canonical label.

Ivan Levkivskyi contributedTo Python typing module
Python generic function definitions relatedTo Python typing module
PEP 484 title Python typing module
this entity surface form: Type Hints
PEP 484 defines Python typing module
this entity surface form: typing.Callable
PEP 484 defines Python typing module
this entity surface form: typing.Mapping
PEP 484 defines Python typing module
this entity surface form: typing.overload