File: //lib64/python3.8/__pycache__/_compression.cpython-38.opt-2.pyc
U
e5d @ s6 d dl Z e jZG dd de jZG dd de jZdS ) Nc @ s, e Zd Zdd Zdd Zdd Zdd Zd S )
BaseStreamc C s | j rtdd S )NzI/O operation on closed file)closed
ValueErrorself r $/usr/lib64/python3.8/_compression.py_check_not_closed s zBaseStream._check_not_closedc C s | stdd S )NzFile not open for reading)readableioUnsupportedOperationr r r r _check_can_read s zBaseStream._check_can_readc C s | stdd S )NzFile not open for writing)writabler r r r r r _check_can_write s zBaseStream._check_can_writec C s( | std| s$tdd S )Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r
r r seekabler r r r _check_can_seek s
zBaseStream._check_can_seekN)__name__
__module____qualname__r r
r r r r r r r s r c sf e Zd Zdd ZdddZ fddZdd Zd
d Zdd
dZdd Z e
jfddZdd Z
ZS )DecompressReaderc C s dS )NTr r r r r r
$ s zDecompressReader.readabler c K s>