mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add missing attribs to urllib.response.addinfourl (#968)
This commit is contained in:
committed by
Matthias Kramm
parent
a1e74b9261
commit
aa54fc1958
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user