Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_with.NestedWith.Dummy Class Reference
Inheritance diagram for test.test_with.NestedWith.Dummy:
Inheritance graph
Collaboration diagram for test.test_with.NestedWith.Dummy:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __enter__
def __exit__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 668 of file

Constructor & Destructor Documentation

def test.test_with.NestedWith.Dummy.__init__ (   self,
  value = None,
  gobble = False 

Definition at line 669 of file

00670         def __init__(self, value=None, gobble=False):
00671             if value is None:
00672                 value = self
00673             self.value = value
00674             self.gobble = gobble
00675             self.enter_called = False
00676             self.exit_called = False

Here is the caller graph for this function:

Member Function Documentation

Definition at line 677 of file

00678         def __enter__(self):
00679             self.enter_called = True
00680             return self.value

def test.test_with.NestedWith.Dummy.__exit__ (   self,

Definition at line 681 of file

00682         def __exit__(self, *exc_info):
00683             self.exit_called = True
00684             self.exc_info = exc_info
00685             if self.gobble:
00686                 return True
    class InitRaises(object):

Member Data Documentation

Definition at line 674 of file

Definition at line 683 of file

Definition at line 675 of file

Definition at line 673 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 672 of file

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