PEP 483

E911254

PEP 483 is a Python Enhancement Proposal that lays out the theoretical foundations and design principles for Python’s type hinting and generic types system.

All labels observed (1)

Label Occurrences
PEP 483 canonical 3

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf Python Enhancement Proposal
author Ivan Levkivskyi
category Typing PEP
linked to: typing
clarifies difference between runtime isinstance checks and static type checking
treatment of None and Optional
treatment of containers with type parameters
use of Any in type hints
use of Union types
createdFor Python type hinting ecosystem
defines design principles for Python’s type system
theoretical foundations of Python type hints
explains how type hints interact with duck typing
how type hints should be interpreted by type checkers
use of protocols for structural subtyping
hostLanguage English
influences type checkers for Python
typing module design
language Python
maintainer Python core developers
number 483
precedes PEP 484
relatedTo PEP 526
PEP 544
PEP 560
relatesTo PEP 484
repository Python PEPs repository
scope container and collection typing
contravariance
covariance
generic classes
invariance
nominal vs structural typing in Python
relationship between runtime and static types
semantics of type hints
type parameterization
status Accepted
title The Theory of Type Hints
topic generic types
protocols
static typing
subtyping
type hints
typing semantics
variance
type Informational PEP
linked to: PEPs
url https://peps.python.org/pep-0483/
usedBy Python library authors
type checker authors
typing module designers

How these facts were elicited

Referenced by (3)

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

PEP 484 relatedTo PEP 483
typing (Python module) relatedPEP PEP 483
subject linked to: typing