summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dataclasses.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 455019d..e4a9cd4 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -459,8 +459,8 @@ Module contents
.. function:: is_dataclass(obj)
- Return ``True`` if its parameter is a dataclass or an instance of one,
- otherwise return ``False``.
+ Return ``True`` if its parameter is a dataclass (including subclasses of a
+ dataclass) or an instance of one, otherwise return ``False``.
If you need to know if a class is an instance of a dataclass (and
not a dataclass itself), then add a further check for ``not