AlkantarClanX12
Current Path : /proc/self/root/lib64/python3.6/__pycache__/ |
Current File : //proc/self/root/lib64/python3.6/__pycache__/_compression.cpython-36.opt-2.pyc |
3 \� � @ s6 d dl Z e jZG dd� de j�ZG dd� de j�ZdS )� Nc @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) � BaseStreamc C s | j rtd��d S )NzI/O operation on closed file)�closed� ValueError)�self� r �$/usr/lib64/python3.6/_compression.py�_check_not_closed s zBaseStream._check_not_closedc C s | j � stjd��d S )NzFile not open for reading)�readable�io�UnsupportedOperation)r r r r �_check_can_read s zBaseStream._check_can_readc C s | j � stjd��d S )NzFile not open for writing)�writabler r )r r r r �_check_can_write s zBaseStream._check_can_writec C s( | j � stjd��| j� s$tjd��d S )Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r r r �seekable)r 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 sh e Zd Zdd� Zf fdd�Z� fdd�Zdd� Zd d � Zddd �Zdd� Z e jfdd�Zdd� Z � ZS )�DecompressReaderc C s dS )NTr )r r r r r $ s zDecompressReader.readablec K s>