Skip to content

Commit ed037cf

Browse files
committed
Dedent section starting with .. deprecation::
Closes numpy#573
1 parent 7716617 commit ed037cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/docscrape.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _read_to_next_section(self):
206206

207207
section += self._doc.read_to_next_empty_line()
208208

209-
return section
209+
return dedent_lines(section)
210210

211211
def _read_sections(self):
212212
while not self._doc.eof():

0 commit comments

Comments
 (0)