File: //usr/lib64/python3.8/__pycache__/gzip.cpython-38.opt-2.pyc
U
e5dS @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZdddddgZd\Z Z
ZZZ
d\ZZd Zd
ZdZdedddfd
dZdd ZG dd dZG dd deZG dd dejZG dd dejZefddddZdd Zdd Zedkre dS ) NBadGzipFileGzipFileopencompress
decompress) )r r r rbc C s d|kr d|krPt d|f n0|d k r0t d|d k r@t d|d k rPt d|dd}t| tttjfr|t| ||}n,t| dst| d rtd ||| }nt d
d|krt
||||S |S d S )NtbzInvalid mode: %rz0Argument 'encoding' not supported in binary modez.Argument 'errors' not supported in binary modez/Argument 'newline' not supported in binary mode readwritez1filename must be a str or bytes object, or a file)
ValueErrorreplace
isinstancestrbytesosPathLiker hasattr TypeErrorio
TextIOWrapper)filenamemode
compresslevelencodingerrorsnewlineZgz_modeZbinary_file r% /usr/lib64/python3.8/gzip.pyr s$ c C s | td| d S )Nz<L)r structZpack)outputvaluer% r% r&