Back to index

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

List of all members.

Public Member Functions

def __init__
def inc
def dec
def get

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 21 of file

00022     def __init__(self):
        self.value = 0

Here is the caller graph for this function:

Member Function Documentation

Definition at line 25 of file

00026     def dec(self):
        self.value -= 1

Definition at line 27 of file

00028     def get(self):
00029         return self.value

Here is the caller graph for this function:

Definition at line 23 of file

00024     def inc(self):
        self.value += 1

Member Data Documentation

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 22 of file

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