Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/linecache.pyo |
³ņ hRc @ sp d Z d d k Z d d k Z d d d g Z d d Z h a d Z d d Z d d Z d d Z d S( sµ Cache lines from 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. i’’’’Nt getlinet clearcachet checkcachec C sK t | | } d | j o t | j n o | | d Sn d Sd S( Ni t ( t getlinest len( t filenamet linenot module_globalst lines( ( s% /usr/local/lib/python2.5/linecache.pyR s $c C s h a d S( s Clear the cache entirely.N( t cache( ( ( s% /usr/local/lib/python2.5/linecache.pyR s c C s. | t j o t | d Sn t | | Sd S( ss Get the lines for a file from the cache. Update the cache if it doesn't contain an entry for this file already.i N( R t updatecache( R R ( ( s% /usr/local/lib/python2.5/linecache.pyR ! s c C sŪ | d j o t i } n | t j o | g } n d Sx | D] } t | \ } } } } | d j o qB n y t i | } Wn t i j o t | =qB n X| | i j p | | i j o t | =qB qB Wd S( sU Discard cache entries that are out of date. (This is not checked upon each call!)N( t NoneR t keyst ost statt errort st_sizet st_mtime( R t filenamest sizet mtimeR t fullnameR ( ( s% /usr/local/lib/python2.5/linecache.pyR + s"