관리-도구
편집 파일: __init__.cpython-36.pyc
3 �Re^ � @ s� d dl mZ d dlT d dlmZmZ ddlZddlZejj d�sNej d dkrdd dlmZm Z mZ nByd dlmZm Z mZ W n( ek r� d dlmZm Z mZ Y nX d d � Zdd� Zd d� ZeZe ZeZeZdS )� )�version)�*)�ExtType� Timestamp� NZMSGPACK_PUREPYTHON� )�Packer�unpackb�Unpackerc K s t f |�}|j|j| �� dS )zX Pack object `o` and write it to `stream` See :class:`Packer` for options. N)r �write�pack)�o�stream�kwargs�packer� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/msgpack/__init__.pyr s r c K s t f |�j| �S )zW Pack object `o` and return packed bytes See :class:`Packer` for options. )r r )r r r r r �packb s r c K s | j � }t|f|�S )z� Unpack an object from `stream`. Raises `ExtraData` when `stream` contains extra bytes. See :class:`Unpacker` for options. )�readr )r r �datar r r �unpack&