Add new line correctly in docstring sections by chessbr · Pull Request #4759 · encode/django-rest-framework (original) (raw)

The order of the line break was wrong

Description

When docstrings were like:

retrieve: fetches some data.
Also the data will be formatted.
create: creates more data.
Take care of format

The generated string was:

retrieve: fetches some data.Also the data will be formatted.
 

Instead of

retrieve: fetches some data.
Also the data will be formatted.