mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-18 15:54:13 +08:00
Add http_client to six.moves, add missing functions to urllib2 fix some types in gettext (#262)
This commit is contained in:
committed by
Guido van Rossum
parent
49000ccc5e
commit
0bfa0636e1
@@ -1,4 +1,5 @@
|
||||
|
||||
from typing import AnyStr
|
||||
from urllib import addinfourl
|
||||
|
||||
class URLError(IOError): ...
|
||||
@@ -149,3 +150,6 @@ class CacheFTPHandler(FTPHandler):
|
||||
def setMaxConns(self, m): ...
|
||||
def check_cache(self): ...
|
||||
def clear_cache(self): ...
|
||||
|
||||
def parse_http_list(s: AnyStr) -> List[AnyStr] : ...
|
||||
def parse_keqv_list(l: List[AnyStr]) -> Dict[AnyStr, AnyStr]: ...
|
||||
|
||||
Reference in New Issue
Block a user