관리-도구
편집 파일: linecache.cpython-36.opt-2.pyc
3 \� � @ sj d dl Z d dlZd dlZd dlZdddgZddd�Zi add� Zddd�Zdd d�Z dd d�Z dd � ZdS )� N�getline� clearcache� checkcachec C s: t | |�}d| ko t|�kn r2||d S dS d S )N� � )�getlines�len)�filename�lineno�module_globals�lines� r �!/usr/lib64/python3.6/linecache.pyr s c C s i a d S )N)�cacher r r r r s c C sR | t kr(t | }t|�dkr(t | d S y t| |�S tk rL t� g S X d S )Nr � )r r �updatecache�MemoryErrorr )r r �entryr r r r % s r c C s� | d krt tj� �}n| tkr&| g}nd S x~|D ]v} t| }t|�dkrJq0|\}}}}|d kr`q0ytj|�}W n tk r� t| = w0Y nX ||jks�||jkr0t| = q0W d S )Nr ) �listr �keysr �os�stat�OSError�st_size�st_mtime)r � filenamesr �size�mtimer �fullnamer r r r r 5 s&