summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEric V. Smith <ericvsmith@users.noreply.github.com>2018-01-06 17:41:53 (GMT)
committerGitHub <noreply@github.com>2018-01-06 17:41:53 (GMT)
commite7ba013d870012157f695ead7e3645c2828a7fc5 (patch)
treeda2f4f57fc040b4587544423090bc6082a2636f7 /Misc
parent3cd7c6e6eb43dbd7d7180503265772a67953e682 (diff)
downloadcpython-e7ba013d870012157f695ead7e3645c2828a7fc5.zip
cpython-e7ba013d870012157f695ead7e3645c2828a7fc5.tar.gz
cpython-e7ba013d870012157f695ead7e3645c2828a7fc5.tar.bz2
bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass or an instance of one. (#5113)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst b/Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst
new file mode 100644
index 0000000..bf3e99c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst
@@ -0,0 +1,2 @@
+Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass
+or an instance of one.