관리-도구
편집 파일: linecache.cpython-310.opt-2.pyc
o 6��f: � @ sj 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 �0/opt/alt/python310/lib64/python3.10/linecache.pyr s r c C s: t | |�}d| krt|�krn dS ||d S dS )N� � )�getlines�len)�filename�lineno�module_globals�linesr r r r s �r c C sT | t v rt | }t|�dkrt | d S zt| |�W S ty) t� g Y S w )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|�dkr%q|\}}}}|d u r0qzt�|�}W n tyF t�| d � Y qw ||jksQ||j krWt�| d � qd S )Nr ) �listr �keysr �os�stat�OSError�pop�st_size�st_mtime)r � filenamesr �size�mtimer �fullnamer r r r r 4 s. ���r c C s� | t v rtt | �dkrt �| d � | r| �d�r!| �d�r!g S | }zt�|�}W n� ty� | }t| |�rnz t | d � }W n t tfyL Y n"w |d u rUg Y S t|�d dd� |� � D �|ft | <