Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
test.test_argparse.WFile Class Reference
Inheritance diagram for test.test_argparse.WFile:
Inheritance graph
Collaboration diagram for test.test_argparse.WFile:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __eq__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Public Attributes

tuple seen = set()

Detailed Description

Definition at line 1488 of file

Constructor & Destructor Documentation

def test.test_argparse.WFile.__init__ (   self,

Definition at line 1491 of file

01492     def __init__(self, name):
01493 = name

Here is the caller graph for this function:

Member Function Documentation

def test.test_argparse.WFile.__eq__ (   self,

Definition at line 1494 of file

01495     def __eq__(self, other):
01496         if other not in self.seen:
01497             text = 'Check that file is writable.'
01498             if 'b' in other.mode:
01499                 text = text.encode('ascii')
01500             other.write(text)
01501             other.close()
01502             self.seen.add(other)
01503         return ==

Member Data Documentation

Definition at line 1492 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

tuple test.test_argparse.WFile.seen = set() [static]

Definition at line 1489 of file

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