Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_gc.GC_Detector Class Reference
Inheritance diagram for test.test_gc.GC_Detector:
Inheritance graph
Collaboration diagram for test.test_gc.GC_Detector:
Collaboration graph

List of all members.

Public Member Functions

def __init__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 20 of file

Constructor & Destructor Documentation

Definition at line 24 of file

00025     def __init__(self):
00026         self.gc_happened = False
00028         def it_happened(ignored):
00029             self.gc_happened = True
00031         # Create a piece of cyclic trash that triggers it_happened when
00032         # gc collects it.
00033         self.wr = weakref.ref(C1055820(666), it_happened)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 25 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 32 of file

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