mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
Drop Python 3.3 support from several stubs (#2266)
* Drop Python 3.3 support from importlib stubs * Drop Python 3.3 support from html and symbol stubs
This commit is contained in:
committed by
Jelle Zijlstra
parent
1184726417
commit
b05e99297c
@@ -33,15 +33,12 @@ def parse_http_list(s: str) -> List[str]: ...
|
||||
def parse_keqv_list(l: List[str]) -> Dict[str, str]: ...
|
||||
|
||||
class Request:
|
||||
if sys.version_info >= (3, 4):
|
||||
@property
|
||||
def full_url(self) -> str: ...
|
||||
@full_url.setter
|
||||
def full_url(self, value: str) -> None: ...
|
||||
@full_url.deleter
|
||||
def full_url(self) -> None: ...
|
||||
else:
|
||||
full_url: str
|
||||
@property
|
||||
def full_url(self) -> str: ...
|
||||
@full_url.setter
|
||||
def full_url(self, value: str) -> None: ...
|
||||
@full_url.deleter
|
||||
def full_url(self) -> None: ...
|
||||
type: str
|
||||
host: str
|
||||
origin_req_host: str
|
||||
@@ -57,8 +54,7 @@ class Request:
|
||||
def add_header(self, key: str, val: str) -> None: ...
|
||||
def add_unredirected_header(self, key: str, val: str) -> None: ...
|
||||
def has_header(self, header_name: str) -> bool: ...
|
||||
if sys.version_info >= (3, 4):
|
||||
def remove_header(self, header_name: str) -> None: ...
|
||||
def remove_header(self, header_name: str) -> None: ...
|
||||
def get_full_url(self) -> str: ...
|
||||
def set_proxy(self, host: str, type: str) -> None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user