From 2961dddc1f6ca669ca0827a76bd47d4dfef50908 Mon Sep 17 00:00:00 2001 From: Teddy Sudol Date: Mon, 17 Apr 2017 13:06:47 -0700 Subject: [PATCH] Mark debuglevel argument as optional argument (#1168) https://github.com/python-git/python/blob/master/Lib/urllib2.py#L1038 --- stdlib/2/urllib2.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2/urllib2.pyi b/stdlib/2/urllib2.pyi index 8602ec9d2..6c1d30c52 100644 --- a/stdlib/2/urllib2.pyi +++ b/stdlib/2/urllib2.pyi @@ -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): ...