summaryrefslogtreecommitdiffstats
path: root/Doc/library/dataclasses.rst
Commit message (Collapse)AuthorAgeFilesLines
* [doc] Use list[int] instead of List[int] (etc.) in a few more places (GH-22524)Andre Delfino2020-10-031-2/+2
| | | | | This changes a few occurrences left behind by #22340. Automerge-Triggered-By: @gvanrossum
* bpo-41199: Docstring convention not followed for dataclasses documentation ↵marload2020-07-091-1/+1
| | | | | page (GH-21413) Automerge-Triggered-By: @ericvsmith
* Make the first dataclass example more useful (GH-19994)Ned Batchelder2020-05-081-0/+2
|
* bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) ↵Fabio Sangiovanni2019-12-251-3/+4
| | | | (GH-17677)
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-3/+3
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-37163: Make the obj argument of dataclasses.replace() a positional-only. ↵Serhiy Storchaka2019-06-261-1/+1
| | | | (GH-14390)
* bpo-35566: Add links to annotation glossary term (GH-11291)Cheryl Sabella2018-12-241-3/+3
|
* Fix astuple in dataclasses documentation (GH-9631)방성범 (Bang Seongbeom)2018-09-291-1/+1
|
* Fix typo in the dataclasses's doc (GH-8896)Daniel Dương2018-08-241-1/+1
|
* Dataclasses: Fix example on 30.6.8, add method should receive a list rather ↵Tom Faulkner2018-07-111-1/+1
| | | | | | than an integer. (GH-8038) Change example function to append rather than add lists.
* bpo-32216: Update dataclasses documentation (#6913)Barry Warsaw2018-05-161-75/+79
|
* Minor tweaks to dataclasses docs. (GH-6903)Eric V. Smith2018-05-161-3/+3
|
* bpo-32216: Add documentation for dataclasses (GH-6886)Eric V. Smith2018-05-161-0/+588
This is an initial version that likely requires much polishing. I'm adding it lay out the structure and so we have something to start working from.