Module _hotshot :: Class LogReaderType
[hide private]
[frames] | no frames]

type LogReaderType

object --+
         |
        LogReaderType

logreader(filename) --> log-iterator Create a log-reader for the timing information file.

Instance Methods [hide private]
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__getitem__(x, y)
x[y]
 
__iter__(x)
iter(x)
 
close()
Close the log file, preventing additional records from being read.
file descriptor
fileno()
Returns the file descriptor for the log file, if open.
the next value, or raise StopIteration
next(x)
Properties [hide private]
  closed
True if the logreader's input file has already been closed.
  info
Dictionary mapping informational keys to lists of values.
Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

fileno()

 

Returns the file descriptor for the log file, if open. Raises ValueError if the log file is closed.

Returns: file descriptor