PEP 484

E265441

PEP 484 is the Python Enhancement Proposal that introduced a standard for type hints in Python, forming the basis of the language’s static typing ecosystem.

Try in SPARQL Jump to: Surface forms Statements Referenced by

All labels observed (2)

Label Occurrences
PEP 484 canonical 4
Python static type system 1

Statements (57)

Predicate Object
instanceOf Python Enhancement Proposal
appliesToLanguage Python
createdBy Guido van Rossum
Jukka Lehtosalo
Michael Sullivan
other contributors
Łukasz Langa
createdForVersion Python 3.x
surface form: Python 3.5
defines semantics for type hints
standard typing module interfaces
syntax for type hints
typing module
typing.Any
Python typing module
surface form: typing.Callable

typing.Dict
typing.FrozenSet
typing.Generic
typing.IO
typing.Iterable
typing.List
Python typing module
surface form: typing.Mapping

typing.NewType
typing.Optional
typing.Sequence
typing.Set
typing.Tuple
typing.TypeVar
typing.Union
Python typing module
surface form: typing.overload
formsBasisOf Python static typing ecosystem
governs standard library typing module behavior
hostedAt https://peps.python.org/pep-0484/
influenced PyCharm type checking
Pyright
static analysis tools for Python
third-party type checkers such as mypy
introducedConcept static typing in Python
introducedFeature standard for type hints
type hints
introducedInVersion Python 3.x
surface form: Python 3.5
motivation enable static type checking for Python
improve tooling and IDE support
provide a standard way to add type information to Python code
relatedTo PEP 3107
PEP 483
PEP 526
PEP 544
specifies conventions for gradual typing
how to annotate class attributes
how to annotate functions
how to annotate variables
rules for type checkers
stub file format .pyi
status Final
title Python typing module
surface form: Type Hints
yearAccepted 2015
yearProposed 2014

Referenced by (5)

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

PEP 695 relatedTo PEP 484
Standards Track PEPs example PEP 484
Python generic class definitions partOf PEP 484
this entity surface form: Python static type system