From 93f7b98f70870130aef393135876a1437bcd5454 Mon Sep 17 00:00:00 2001 From: cheng-jian Date: Wed, 28 Aug 2019 10:46:36 +0800 Subject: [PATCH] some small typo fixes --- rest_framework/schemas/coreapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/schemas/coreapi.py b/rest_framework/schemas/coreapi.py index 8d9099f2a..22275bf23 100644 --- a/rest_framework/schemas/coreapi.py +++ b/rest_framework/schemas/coreapi.py @@ -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