mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Add missing attribs to urllib.response.addinfourl (#968)
This commit is contained in:
1 parent
a1e74b9261
commit
aa54fc1958
1 file changed
+3
@@ -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