Back to index

python3.2  3.2.2
Static Public Member Functions | Public Attributes
test.test_decorators.MiscDecorators Class Reference
Inheritance diagram for test.test_decorators.MiscDecorators:
Inheritance graph
[legend]
Collaboration diagram for test.test_decorators.MiscDecorators:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

def author

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 10 of file test_decorators.py.


Member Function Documentation

Definition at line 12 of file test_decorators.py.

00012 
00013     def author(name):
00014         def decorate(func):
00015             func.__dict__['author'] = name
00016             return func
00017         return decorate
00018 
00019 # -----------------------------------------------


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: