PEP 318

GPTKB entity

Statements (48)
Predicate Object
gptkbp:instance_of gptkb:Library
gptkbp:abstract This PEP proposes a syntax for decorators.
gptkbp:amended_by gptkb:None
gptkbp:author gptkb:Guido_van_Rossum
gptkbp:caused_by Existing syntax was considered unclear.
gptkbp:created 2004-07-01
gptkbp:discusses Decorator syntax in Python
https://www.python.org/dev/peps/pep-0318/
gptkbp:ends_at The proposed syntax was accepted.
gptkbp:example @property
@classmethod
@decorator
@staticmethod
gptkbp:first_published 2004-07-01
https://www.w3.org/2000/01/rdf-schema#label PEP 318
gptkbp:impact Improved readability of code.
Standardized decorator usage.
gptkbp:influenced_by PEP 276
gptkbp:is_available_in gptkb:None
gptkbp:is_discussed_in Python-Dev mailing list
gptkbp:is_implemented_in gptkb:Python_2.4
gptkb:Python_3.0
Implemented in Python 2.4 and later.
gptkbp:is_motivated_by To provide a clearer syntax for decorators.
gptkbp:keywords functions
methods
syntax
decorators
gptkbp:plot_summary This PEP proposes a syntax for decorators.
gptkbp:proposed_by Syntax for decorators
gptkbp:received 2004-07-01
gptkbp:related_to Function decorators
Method decorators
gptkbp:related_works PEP 276
PEP 312
gptkbp:replaced_by PEP 312
gptkbp:status gptkb:Final
gptkbp:subject gptkb:language
Code readability
Programming paradigms
Code maintainability
Software design principles
Function programming
Method programming
gptkbp:title Decorators for functions and methods
gptkbp:type Informational
gptkbp:bfsParent gptkb:Python_Enhancement_Proposal_19
gptkbp:bfsLayer 7