]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Dataclasses: Fix example on 30.6.8, add method should receive a list rather than...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Jul 2018 10:11:11 +0000 (03:11 -0700)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Wed, 11 Jul 2018 10:11:11 +0000 (06:11 -0400)
commitbcea15a6110737aa87147222b108281bcb41866b
tree935621c1533d4ed39fde373135b340a9478277a8
parentc87b1aabbd660d111afde326fbbd897fb689a7b8
Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (GH-8038) (GH-8237)

Change example function to append rather than add lists.
(cherry picked from commit da5e9476bbfbe61f7661fd22caba1b675e5b4397)

Co-authored-by: Tom Faulkner <tomfaulkner@gmail.com>
Doc/library/dataclasses.rst