|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/opt/alt/python34/lib64/python3.4/__pycache__/ |
Upload File : |
�
��Maq � @ 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 "