mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Mark debuglevel argument as optional argument (#1168)
https://github.com/python-git/python/blob/master/Lib/urllib2.py#L1038
This commit is contained in:
committed by
Matthias Kramm
parent
f6619a4741
commit
2961dddc1f
@@ -128,7 +128,7 @@ class ProxyDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
|
||||
def http_error_407(self, req, fp, code, msg, headers): ...
|
||||
|
||||
class AbstractHTTPHandler(BaseHandler):
|
||||
def __init__(self, debuglevel: int) -> None: ...
|
||||
def __init__(self, debuglevel: int=0) -> None: ...
|
||||
def do_request_(self, request): ...
|
||||
def do_open(self, http_class, req): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user