From 7cf574d0d8984cc57665f611f01f5e6f13b6dd01 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 25 Feb 2014 21:28:37 +0900 Subject: [PATCH] python: Update doc --- python/nghttp2.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/nghttp2.pyx b/python/nghttp2.pyx index 599d9618..51c758c3 100644 --- a/python/nghttp2.pyx +++ b/python/nghttp2.pyx @@ -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'),