typing
E431925
typing is a Python standard library module that provides support for type hints and static type checking through a rich set of type annotation primitives.
All labels observed (1)
| Label | Occurrences |
|---|---|
| typing canonical | 2 |
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
Python standard library module
ⓘ
software library ⓘ |
| backportedTo | typing module on PyPI ⓘ |
| definedIn | PEP 484 NERFINISHED ⓘ |
| defines |
Any type
ⓘ
Concatenate helper ⓘ Never type ⓘ NoReturn type ⓘ Self type ⓘ get_type_hints function ⓘ overload decorator ⓘ |
| documentationURL | https://docs.python.org/3/library/typing.html ⓘ |
| enables |
better IDE autocompletion
ⓘ
earlier error detection ⓘ improved code analysis ⓘ |
| introducedInVersion | Python 3.5 NERFINISHED ⓘ |
| partOf | Python standard library ⓘ |
| programmingLanguage | Python ⓘ |
| provides |
static type checking support
ⓘ
type hints support ⓘ |
| relatedPEP |
PEP 483
NERFINISHED
ⓘ
PEP 526 NERFINISHED ⓘ PEP 544 NERFINISHED ⓘ PEP 560 NERFINISHED ⓘ PEP 585 NERFINISHED ⓘ PEP 604 NERFINISHED ⓘ PEP 649 NERFINISHED ⓘ |
| supports |
Annotated types
ⓘ
Callable types ⓘ ClassVar qualifier ⓘ Final qualifier ⓘ ForwardRef for forward declarations ⓘ Literal types ⓘ NewType ⓘ Optional types ⓘ ParamSpec ⓘ TypeVar ⓘ TypeVarTuple ⓘ TypedDict NERFINISHED ⓘ Union types ⓘ generic types ⓘ protocols ⓘ runtime-checkable protocols ⓘ type aliases ⓘ type annotations ⓘ |
| usedBy |
PyCharm type checker
ⓘ
mypy NERFINISHED ⓘ pyright ⓘ static type checkers ⓘ |
| usedFor | gradual typing in Python ⓘ |
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.