summaryrefslogtreecommitdiff
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 5cdec20bf7..e5008f666d 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -180,6 +180,11 @@ attributes:
name. If the optional *predicate* argument is supplied, only members for which
the predicate returns a true value are included.
+ .. note::
+
+ :func:`getmembers` does not return metaclass attributes when the argument
+ is a class (this behavior is inherited from the :func:`dir` function).
+
.. function:: getmoduleinfo(path)