summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc/preserve_defaults.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/autodoc/preserve_defaults.py')
-rw-r--r--sphinx/ext/autodoc/preserve_defaults.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/sphinx/ext/autodoc/preserve_defaults.py b/sphinx/ext/autodoc/preserve_defaults.py
index 8ce16b37a..313fe5501 100644
--- a/sphinx/ext/autodoc/preserve_defaults.py
+++ b/sphinx/ext/autodoc/preserve_defaults.py
@@ -1,12 +1,7 @@
-"""
- sphinx.ext.autodoc.preserve_defaults
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Preserve the default argument values of function signatures in source code
- and keep them not evaluated for readability.
+"""Preserve function defaults.
- :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
+Preserve the default argument values of function signatures in source code
+and keep them not evaluated for readability.
"""
import ast