From 8e7c32846fc2b07eff10296f815f053a5f6daaa5 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Thu, 13 Jun 2019 10:01:13 +0000 Subject: [PATCH] request.pyi: Change Union[] -> Any for attributing status. (#3045) Fixes #3026 --- stdlib/3/urllib/request.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/urllib/request.pyi b/stdlib/3/urllib/request.pyi index a1a556813..e096ef4ef 100644 --- a/stdlib/3/urllib/request.pyi +++ b/stdlib/3/urllib/request.pyi @@ -13,7 +13,7 @@ import sys import os _T = TypeVar('_T') -_UrlopenRet = Union[_HTTPResponse, addinfourl] +_UrlopenRet = Any class _HTTPResponse(HTTPResponse): url: str