equal
deleted
inserted
replaced
|
1 ## @package pyexample |
|
2 # Documentation for this module. |
|
3 # |
|
4 # More details. |
|
5 |
|
6 ## Documentation for a function. |
|
7 # |
|
8 # More details. |
|
9 def func(): |
|
10 pass |
|
11 |
|
12 ## Documentation for a class. |
|
13 # |
|
14 # More details. |
|
15 class 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 |