commit | c6147acd2ce5fa9e344f179b539f3b21b9ae1a6d | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Mar 26 10:55:13 2018 -0700 |
committer | GitHub <noreply@github.com> | Mon Mar 26 10:55:13 2018 -0700 |
tree | a325c46ab5210ac895b5860ea8ba54eeed60e825 | |
parent | 00765bb6ae692570c73fe15e0362ce9c8ec59c82 [diff] |
bpo-33141: Have dataclasses.Field pass through __set_name__ to any default argument. (GH-6260) This is part of PEP 487 and the descriptor protocol. (cherry picked from commit de7a2f04d6b9427d568fcb43b6f512f9b4c4bd84) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>