Commit 7cf574d0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

python: Update doc

parent 57af995f
......@@ -860,7 +860,7 @@ class BaseRequestHandler:
return body
else:
raise Exception(('body must be None or instance of str or bytes '
'or io.BytesIO'))
'or io.IOBase'))
def _encode_headers(headers):
return [(k if isinstance(k, bytes) else k.encode('utf-8'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment