]> granicus.if.org Git - python/commit
Add 'Field' to dataclasses.__all__. (GH-6182)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Wed, 21 Mar 2018 21:10:22 +0000 (17:10 -0400)
committerGitHub <noreply@github.com>
Wed, 21 Mar 2018 21:10:22 +0000 (17:10 -0400)
commit8e4560a9da6a02aa157dd7df8bd0be0d258c0a73
tree0276b5db71dc9fe964b69024b05e66ced4c6e809
parentdec1c7786f642049c2508e909442189dc043b5da
Add 'Field' to dataclasses.__all__. (GH-6182)

- Add missing 'Field' to __all__.
- Improve tests to catch this.
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2018-03-21-16-52-26.bpo-33116.Tvzerj.rst [new file with mode: 0644]