]> granicus.if.org Git - python/commit
bpo-33116: Add 'Field' to dataclasses.__all__. (GH-6182) (GH-6183)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Mar 2018 21:44:23 +0000 (14:44 -0700)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Wed, 21 Mar 2018 21:44:23 +0000 (17:44 -0400)
commit4ddc99d15963b0374f9dbfd57f14e6194ad65669
tree12788fe00057fbba89e38b1493898d22fda2cc42
parentf5625d58fa3474f654defab19624c62a4915e6c9
bpo-33116: Add 'Field' to dataclasses.__all__. (GH-6182) (GH-6183)

- Add missing 'Field' to __all__.
- Improve tests to catch this.
(cherry picked from commit 8e4560a9da6a02aa157dd7df8bd0be0d258c0a73)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
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]