PEP 3107

GPTKB entity

Statements (21)
Predicate Object
gptkbp:instance_of gptkb:Library
gptkbp:bfsLayer 5
gptkbp:bfsParent gptkb:PEP_484
gptkbp:abstract This PEP proposes a syntax for function annotations.
gptkbp:author gptkb:Guido_van_Rossum
gptkbp:caused_by To provide a way to attach metadata to function arguments and return values.
gptkbp:created 2012-05-01
gptkbp:discusses https://mail.python.org/pipermail/python-dev/2012-April/120000.html
gptkbp:example def f(x: 'int') -> 'str': pass
gptkbp:first_published 2012-05-01
https://www.w3.org/2000/01/rdf-schema#label PEP 3107
gptkbp:is_implemented_in gptkb:Python_3.0
gptkb:PEP_484
gptkbp:keywords annotations, typing
gptkbp:latest_version gptkb:3.0
gptkbp:related_to Type Hints
gptkbp:replaced_by gptkb:PEP_3106
gptkbp:status gptkb:Final
gptkb:Accepted
gptkbp:title Function Annotations
gptkbp:type gptkb:Specification