From: James Addison Date: Mon, Feb 26 2024 19:25:09 +0000 Subject: enable Sphinx autodoc preservation of method-argument defaults . This avoids build environment information such as timing information from inadvertently leaking into the packaged documentation. Bug-Debian: http://bugs.debian.org/1064858 diff --git a/docs/conf.py b/docs/conf.py index 7a9c7d7..03a655b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -228,3 +228,5 @@ html_extra_path = ["robots.txt"] # dtype, target = line.split(None, 1) # target = target.strip() # nitpick_ignore.append((dtype, six.u(target))) + +autodoc_preserve_defaults = True # http://bugs.debian.org/1064858