Staging
v0.8.1
https://github.com/python/cpython
Revision 3b4c6b16c597aa2356f5658dd67da7dcd4434038 authored by Miss Islington (bot) on 22 March 2018, 20:58:59 UTC, committed by GitHub on 22 March 2018, 20:58:59 UTC

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>
1 parent 5d8bb5d
History
Tip revision: 3b4c6b16c597aa2356f5658dd67da7dcd4434038 authored by Miss Islington (bot) on 22 March 2018, 20:58:59 UTC
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192)
Tip revision: 3b4c6b1
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.3 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.1 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
docutils.conf -rw-r--r-- 56 bytes
glossary.rst -rw-r--r-- 48.7 KB
license.rst -rw-r--r-- 43.4 KB
make.bat -rw-r--r-- 5.1 KB

README.rst

back to top