| linecache | index /usr/lib/python2.2/linecache.py |
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.
| Modules | ||||||
| ||||||
| Functions | ||
| ||
| Data | ||
| ST_ATIME = 7 ST_CTIME = 9 ST_DEV = 2 ST_GID = 5 ST_INO = 1 ST_MODE = 0 ST_MTIME = 8 ST_NLINK = 3 ST_SIZE = 6 ST_UID = 4 S_ENFMT = 1024 S_IEXEC = 64 S_IFBLK = 24576 S_IFCHR = 8192 S_IFDIR = 16384 S_IFIFO = 4096 S_IFLNK = 40960 S_IFREG = 32768 S_IFSOCK = 49152 S_IREAD = 256 S_IRGRP = 32 S_IROTH = 4 S_IRUSR = 256 S_IRWXG = 56 S_IRWXO = 7 S_IRWXU = 448 S_ISGID = 1024 S_ISUID = 2048 S_ISVTX = 512 S_IWGRP = 16 S_IWOTH = 2 S_IWRITE = 128 S_IWUSR = 128 S_IXGRP = 8 S_IXOTH = 1 S_IXUSR = 64 __all__ = ['getline', 'clearcache', 'checkcache'] __file__ = '/usr/lib/python2.2/linecache.pyc' __name__ = 'linecache' cache = {'/usr/lib/python2.2/FCNTL.py': (404, 1010066670, ['"""Backward-compatibility version of FCNTL; export constants exported by\n', 'fcntl, and issue a deprecation warning.\n', '"""\n', '\n', 'import warnings\n', 'warnings.warn("the FCNTL module is deprecated; please use fcntl",\n', ' DeprecationWarning)\n', '\n', '\n', '# Export the constants known to the fcntl module:\n', 'from fcntl import *\n', '\n', '# and *only* the constants:\n', '__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]\n'], '/usr/lib/python2.2/FCNTL.py')} | ||