관리-도구
편집 파일: compat.cpython-36.pyc
3 �Re � @ sj d Z ddlZddlZejd dkr4dd� Zdd� Zndd� Zd d� ZyeZW n ek rd eZY nX dS ) zPython 2/3 compatibility� N� c K s. t |ddd��}tj| |f|� W d Q R X d S )N�wzutf-8)�encoding)�open�json�dump)�obj�path�kwargs�f� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/compat.py� write_json s r c C s$ t | ddd��}tj|�S Q R X d S )N�rzutf-8)r )r r �load)r r r r r � read_json s r c K s2 t |d��}tj| |fddi|�� W d Q R X d S )N�wbr zutf-8)r r r )r r r r r r r r s c C s t | d��}tj|�S Q R X d S )N�rb)r r r )r r r r r r s ) �__doc__r �sys�version_infor r �FileNotFoundError� NameError�IOErrorr r r r �<module> s