commit | 3b4c6b16c597aa2356f5658dd67da7dcd4434038 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Mar 22 13:58:59 2018 -0700 |
committer | GitHub <noreply@github.com> | Thu Mar 22 13:58:59 2018 -0700 |
tree | 23e31aafdafd837f54f5a2ce618147363057c5c0 | |
parent | 5d8bb5d07be2a9205e7059090f0ac5360d36b217 [diff] |
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192) If a dataclass has a member variable that's of type Field, but it doesn't have a type annotation, raise TypeError. (cherry picked from commit 56970b8ce9d23269d20a76f13c80e670c856ba7f) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>