From 0c54094b9a293330dc2de40b916739e032d132a2 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Mon, 10 Jun 2019 04:23:17 +0530 Subject: [PATCH] request.pyi: Change Union[] -> Any for attributing status. 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 a1a556813fef..e096ef4ef7f8 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