Back to index

python3.2  3.2.2
Public Member Functions | Static Private Attributes
test.test_tempfile.test__mkstemp_inner.mkstemped Class Reference

List of all members.

Public Member Functions

def __init__
def write
def __del__

Static Private Attributes

 _bflags = tempfile._bin_openflags
 _tflags = tempfile._text_openflags
 _close = os.close
 _unlink = os.unlink

Detailed Description

Definition at line 207 of file test_tempfile.py.


Constructor & Destructor Documentation

def test.test_tempfile.test__mkstemp_inner.mkstemped.__init__ (   self,
  dir,
  pre,
  suf,
  bin 
)

Definition at line 213 of file test_tempfile.py.

00213 
00214         def __init__(self, dir, pre, suf, bin):
00215             if bin: flags = self._bflags
00216             else:   flags = self._tflags
00217 
00218             (self.fd, self.name) = tempfile._mkstemp_inner(dir, pre, suf, flags)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 222 of file test_tempfile.py.

00222 
00223         def __del__(self):
00224             self._close(self.fd)
00225             self._unlink(self.name)
00226 
    def do_create(self, dir=None, pre="", suf="", bin=1):

Here is the call graph for this function:


Member Function Documentation

Definition at line 219 of file test_tempfile.py.

00219 
00220         def write(self, str):
00221             os.write(self.fd, str)


Member Data Documentation

Definition at line 208 of file test_tempfile.py.

Definition at line 210 of file test_tempfile.py.

Definition at line 209 of file test_tempfile.py.

Definition at line 211 of file test_tempfile.py.


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