]> granicus.if.org Git - python/commit
Dataclasses: Fix example on 30.6.8, add method should receive a list rather than...
authorTom Faulkner <tomfaulkner@gmail.com>
Wed, 11 Jul 2018 02:39:57 +0000 (21:39 -0500)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Wed, 11 Jul 2018 02:39:57 +0000 (22:39 -0400)
commitda5e9476bbfbe61f7661fd22caba1b675e5b4397
tree9508fe8a912e9f9762809b05539c50b203662ec8
parent9cffdbffc3b2dec18def1c3e8cfa166d01d609df
Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (GH-8038)

Change example function to append rather than add lists.
Doc/library/dataclasses.rst