summaryrefslogtreecommitdiff
path: root/doc/usage/extensions/autodoc.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/usage/extensions/autodoc.rst')
-rw-r--r--doc/usage/extensions/autodoc.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst
index 382d3160c..77340f494 100644
--- a/doc/usage/extensions/autodoc.rst
+++ b/doc/usage/extensions/autodoc.rst
@@ -182,6 +182,16 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
.. versionadded:: 3.1
+ * autodoc considers a variable member does not have any default value if its
+ docstring contains ``:meta hide-value:`` in its :ref:`info-field-lists`.
+ Example:
+
+ .. code-block:: rst
+
+ var1 = None #: :meta hide-value:
+
+ .. versionadded:: 3.5
+
* Python "special" members (that is, those named like ``__special__``) will
be included if the ``special-members`` flag option is given::