From aa54fc19587c082a167558a3b8a3cc22fce3fa55 Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Wed, 8 Mar 2017 09:38:52 +0900 Subject: [PATCH] Add missing attribs to urllib.response.addinfourl (#968) --- stdlib/3/urllib/response.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/3/urllib/response.pyi b/stdlib/3/urllib/response.pyi index 033bbaafe..2c16cb679 100644 --- a/stdlib/3/urllib/response.pyi +++ b/stdlib/3/urllib/response.pyi @@ -4,5 +4,8 @@ from typing import BinaryIO, Mapping, Optional from types import TracebackType class addinfourl(BinaryIO): + headers = ... # type: Mapping[str, str] + url = ... # type: str + code = ... # type: int def info(self) -> Mapping[str, str]: ... def geturl(self) -> str: ...