We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2de5081 commit 73f4835Copy full SHA for 73f4835
rest_framework/schemas/inspectors.py
@@ -88,7 +88,7 @@ def get_description(self, path, method):
88
view.get_view_description())
89
90
def _get_description_section(self, view, header, description):
91
- lines = [line for line in description.splitlines()]
+ lines = list(description.splitlines())
92
current_section = ''
93
sections = {'': ''}
94
0 commit comments