Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
With.TryFinally.ContextManager Class Reference
Inheritance diagram for With.TryFinally.ContextManager:
Inheritance graph
Collaboration diagram for With.TryFinally.ContextManager:
Collaboration graph

List of all members.

Public Member Functions

def __enter__
def __exit__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 56 of file

Member Function Documentation

Definition at line 57 of file

00058         def __enter__(self):

Definition at line 59 of file

00060         def __exit__(self):
00061             # "Context manager" objects used just for their cleanup
00062             # actions in finally blocks usually don't have parameters.
00063             pass
    def test(self):

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.

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