Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/examples/pyexample.py

Source at commit 1406 created 12 years 10 months ago.
By meklort, Revert drivers.c so that kexts are only loaded when OSBundleRequired is set and that value is not safe mode. Added some comments about it too.
1## @package pyexample
2# Documentation for this module.
3#
4# More details.
5
6## Documentation for a function.
7#
8# More details.
9def func():
10 pass
11
12## Documentation for a class.
13#
14# More details.
15class PyClass:
16
17 ## The constructor.
18 def __init__(self):
19 self._memVar = 0;
20
21 ## Documentation for a method.
22 # @param self The object pointer.
23 def PyMethod(self):
24 pass
25
26 ## A class variable.
27 classVar = 0;
28
29 ## @var _memVar
30 # a member variable
31

Archive Download this file

Revision: 1406