'str.split' -> 's.split'

This commit is contained in:
jesopo 2019-09-09 14:53:11 +01:00
parent 1df82c1cb2
commit 5ef2b7af27

View file

@ -60,7 +60,7 @@ class Response(object):
def _meta_content(s: str) -> typing.Dict[str, str]:
out = {}
for keyvalue in str.split(";"):
for keyvalue in s.split(";"):
key, _, value = keyvalue.strip().partition("=")
out[key] = value
return out