Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
FileWrapper Class Reference
Inheritance diagram for FileWrapper:
FileBase

Public Member Functions

def __init__
 
def close
 

Data Fields

 f
 

Additional Inherited Members

- Static Public Attributes inherited from FileBase
tuple ok_file_methods
 

Detailed Description

Definition at line 34 of file rexec.py.

Constructor & Destructor Documentation

def __init__ (   self,
  f 
)

Definition at line 38 of file rexec.py.

38 
39  def __init__(self, f):
40  self.f = f
41  for m in self.ok_file_methods:
42  if not hasattr(self, m) and hasattr(f, m):
43  setattr(self, m, getattr(f, m))

Member Function Documentation

def close (   self)

Definition at line 44 of file rexec.py.

References Devnull.flush(), StringIO.flush(), _fileobject.flush(), GzipFile.flush(), NullWriter.flush(), _SpoofOut.flush(), and TestSGMLParser.flush().

44 
45  def close(self):
46  self.flush()
47 

Field Documentation

f

Definition at line 39 of file rexec.py.


The documentation for this class was generated from the following file: