Statements (25)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:Python_Enhancement_Proposal
|
| gptkbp:addsModule |
dataclasses
|
| gptkbp:author |
Eric V. Smith
|
| gptkbp:containsModule |
dataclasses
|
| gptkbp:created |
2017-09-05
|
| gptkbp:implementedIn |
gptkb:Python_3.7
|
| gptkbp:motive |
To make it easier to create classes for storing data without writing boilerplate code.
|
| gptkbp:plotSummary |
PEP 557 introduces data classes to the Python standard library.
|
| gptkbp:pythonVersion |
3.7
|
| gptkbp:replacesBoilerplate |
__init__
__eq__ __ge__ __gt__ __hash__ __le__ __lt__ __repr__ |
| gptkbp:status |
Final
|
| gptkbp:title |
Data Classes
|
| gptkbp:topic |
data classes
|
| gptkbp:url |
https://peps.python.org/pep-0557/
|
| gptkbp:bfsParent |
gptkb:Python_3.7
gptkb:PEP_681:_Data_Class_Transforms |
| gptkbp:bfsLayer |
8
|
| https://www.w3.org/2000/01/rdf-schema#label |
PEP 557
|