summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-12-05 20:42:50 (GMT)
committerGitHub <noreply@github.com>2021-12-05 20:42:50 (GMT)
commit446be166861b2f08f87f74018113dd98ca5fca02 (patch)
tree72eed67ccf609faefac71afa67589866a3818843 /Misc
parent1fd4de5bddbbf2a97cdbac4d298c89e1156bdc6c (diff)
downloadcpython-446be166861b2f08f87f74018113dd98ca5fca02.zip
cpython-446be166861b2f08f87f74018113dd98ca5fca02.tar.gz
cpython-446be166861b2f08f87f74018113dd98ca5fca02.tar.bz2
bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.GenericAlias (GH-29294)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-10-28-23-11-59.bpo-45663.J90N5R.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-10-28-23-11-59.bpo-45663.J90N5R.rst b/Misc/NEWS.d/next/Library/2021-10-28-23-11-59.bpo-45663.J90N5R.rst
new file mode 100644
index 0000000..f246f67
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-10-28-23-11-59.bpo-45663.J90N5R.rst
@@ -0,0 +1,2 @@
+Fix :func:`dataclasses.is_dataclass` for dataclasses which are subclasses of
+:class:`types.GenericAlias`.