Viewing File: /opt/alt/python-internal/lib64/python3.11/lib2to3/fixes/__pycache__/fix_urllib.cpython-311.pyc
!A?h d Z ddlmZmZ ddlmZmZmZmZm Z m
Z
mZ dg dfdg dfdd gfgdg d
fdddgfgd
Zed
ed d d Z G d de ZdS )zFix changes imports of urllib which are now incompatible.
This is rather similar to fix_imports, but because of the more
complex nature of the fixing for urllib, it has its own fixer.
)
alternates
FixImports)NameComma
FromImportNewlinefind_indentationNodesymszurllib.request) URLopenerFancyURLopenerurlretrieve
_urlopenerurlopen
urlcleanuppathname2urlurl2pathname
getproxieszurllib.parse)quote
quote_plusunquoteunquote_plus urlencode splitattr splithost
splitnportsplitpasswd splitport
splitquerysplittag splittype splituser
splitvaluezurllib.errorContentTooShortError)r install_openerbuild_openerRequestOpenerDirectorBaseHandlerHTTPDefaultErrorHandlerHTTPRedirectHandlerHTTPCookieProcessorProxyHandlerHTTPPasswordMgrHTTPPasswordMgrWithDefaultRealmAbstractBasicAuthHandlerHTTPBasicAuthHandlerProxyBasicAuthHandlerAbstractDigestAuthHandlerHTTPDigestAuthHandlerProxyDigestAuthHandlerHTTPHandlerHTTPSHandlerFileHandler
FTPHandlerCacheFTPHandlerUnknownHandlerURLError HTTPError)urlliburllib2r? r>