mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 17:09:59 +03:00
some small typo fixes
This commit is contained in:
parent
ec1b14174f
commit
93f7b98f70
|
@ -421,7 +421,7 @@ class AutoSchema(ViewInspector):
|
|||
|
||||
for line in lines:
|
||||
if header_regex.match(line):
|
||||
current_section, seperator, lead = line.partition(':')
|
||||
current_section, _, lead = line.partition(':')
|
||||
sections[current_section] = lead.strip()
|
||||
else:
|
||||
sections[current_section] += '\n' + line
|
||||
|
|
Loading…
Reference in New Issue
Block a user