diff --git a/numpydoc/docscrape.py b/numpydoc/docscrape.py index aa13217e..5f4dcdd7 100644 --- a/numpydoc/docscrape.py +++ b/numpydoc/docscrape.py @@ -206,7 +206,7 @@ def _read_to_next_section(self): section += self._doc.read_to_next_empty_line() - return section + return dedent_lines(section) def _read_sections(self): while not self._doc.eof():