Your IP : 18.225.56.181
�
e fq � @ s� d Z d d l Z d d l Z d d l Z d d d g Z d d d � Z i a d d � Z d d d � Z d d
d � Z d d d � Z
d S)
z�Cache lines from Python source files.
This is intended to read lines from modules imported -- hence if a filename
is not found, it will look down the module search path for a file by
that name.
� N�getline�
clearcache�
checkcachec C sE t | | � } d | k o, t | � k n r= | | d Sd Sd S)N� � )�getlines�len)�filename�lineno�module_globals�lines� r
�./opt/alt/python34/lib64/python3.4/linecache.pyr s "c C s
i a d S)zClear the cache entirely.N)�cacher
r
r
r r s c C sM | t k r t | d Sy t | | � SWn t k
rH t � g SYn Xd S)z�Get the lines for a Python source file from the cache.
Update the cache if it doesn't contain an entry for this file already.� N)r �updatecache�MemoryErrorr )r r r
r
r r "