Add missing attribs to urllib.response.addinfourl (#968)

This commit is contained in:
Hong Minhee
2017-03-08 09:38:52 +09:00
committed by Matthias Kramm
parent a1e74b9261
commit aa54fc1958

View File

@@ -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: ...