summaryrefslogtreecommitdiffstats
path: root/examples/docstring.py
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-08-06 11:48:27 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-08-06 11:48:27 (GMT)
commit624a187c926b69bdfc11fca8e929b71938b28eff (patch)
tree340cca67808f566b0c458391835834e717e26a61 /examples/docstring.py
parente2bafacf8c0f6ef0dd7f9f4958a125761bda31ec (diff)
downloadDoxygen-624a187c926b69bdfc11fca8e929b71938b28eff.zip
Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.gz
Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.bz2
Release-1.4.4-20050806
Diffstat (limited to 'examples/docstring.py')
-rw-r--r--examples/docstring.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/docstring.py b/examples/docstring.py
new file mode 100644
index 0000000..ab185b6
--- /dev/null
+++ b/examples/docstring.py
@@ -0,0 +1,26 @@
+"""Documentation for this module.
+
+More details.
+"""
+
+def func():
+ """Documentation for a function.
+
+ More details.
+ """
+ pass
+
+class PyClass:
+ """Documentation for a class.
+
+ More details.
+ """
+
+ def __init__(self):
+ """The constructor."""
+ self._memVar = 0;
+
+ def PyMethod(self):
+ """Documentation for a method."""
+ pass
+