]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
If using a frozen class with slots, add __getstate__ and __setstate__ to set the...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Sat, 1 May 2021 17:27:30 +0000 (13:27 -0400)
committerGitHub <noreply@github.com>
Sat, 1 May 2021 17:27:30 +0000 (13:27 -0400)
commit823fbf4e0eb66cbef0eacb7e8dbfb5dc8ea83b40
treecdbfea3d509837970384db1c0db0141014419c7a
parentf82fd77717b58c97a16c05e25c72388b35860459
If using a frozen class with slots, add __getstate__ and __setstate__ to set the instance values. (GH-25786)
Lib/dataclasses.py
Lib/test/test_dataclasses.py