Skip to content

Commit

Permalink
Dedent section starting with .. deprecation::
Browse files Browse the repository at this point in the history
Closes numpy#573
  • Loading branch information
stefanv committed Jul 17, 2024
1 parent 7716617 commit ed037cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpydoc/docscrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit ed037cf

Please sign in to comment.