// Strip all remaining leading spaces.
lines = _docstring.split("\n")
_docstring = "\n".join([line.lstrip(" ") for line in lines])
// Reinject list blocks.
for marker, content in sections.items():
After Change
yield l.lstrip(" ")
lines = _docstring.split("\n")
_docstring = "\n".join(strip_leading_spaces(lines))
// Reinject list blocks.
for marker, content in sections.items():
_docstring = _docstring.replace(marker, content)