관리-도구
편집 파일: linecache.cpython-39.opt-2.pyc
a R�fU � @ sh d dl Z d dlZd dlZd dlZg d�Zi Zdd� Zddd�Zddd�Zdd d �Z ddd�Z d d� ZdS )� N)�getline� clearcache� checkcache� lazycachec C s t �� d S )N)�cache�clear� r r �./opt/alt/python39/lib64/python3.9/linecache.pyr s r c C s6 t | |�}d| kr"t|�kr2n n||d S dS )N� � )�getlines�len)�filename�lineno�module_globals�linesr r r r s r c C sV | t v r(t | }t|�dkr(t | d S zt| |�W S tyP t� g Y S 0 d S )Nr � )r r �updatecache�MemoryErrorr )r r �entryr r r r $ s r c C s� | d u rt t�� �}n| tv r&| g}nd S |D ]�} t| }t|�dkrHq.|\}}}}|d u r^q.zt�|�}W n" ty� t�| d � Y q.Y n0 ||jks�||j kr.t�| d � q.d S )Nr ) �listr �keysr �os�stat�OSError�pop�st_size�st_mtime)r � filenamesr �size�mtimer �fullnamer r r r r 4 s&