We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 201399e commit 45e5e22Copy full SHA for 45e5e22
core/python/modconstruct.py
@@ -87,7 +87,7 @@ def __doc__(self):
87
if hasattr(self, "_autodoc"):
88
return self._autodoc
89
90
- introdoc = textwrap.dedent(getattr(self.func, "__doc__", "")) or ""
+ introdoc = textwrap.dedent(getattr(self.func, "__doc__", None) or "") or ""
91
if introdoc:
92
introdoc += "\n\n"
93
introdoc += '\nEquivalent to\n-------------\n\n::\n\n'
0 commit comments