[Dev OpenGP] [16] Better doc |
[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 16
Author: alband85
Date: 2009-02-08 01:00:52 +0100 (Sun, 08 Feb 2009)
Log Message:
-----------
Better doc
Modified Paths:
--------------
trunk/src/AbstractMethod.py
Modified: trunk/src/AbstractMethod.py
===================================================================
--- trunk/src/AbstractMethod.py 2009-02-07 23:46:14 UTC (rev 15)
+++ trunk/src/AbstractMethod.py 2009-02-08 00:00:52 UTC (rev 16)
@@ -8,15 +8,15 @@
"""Defines a class to create abstract methods
@example:
- class Foo:
- foo = AbstractMethod('foo')
+ class Foo:
+ foo = AbstractMethod('foo')
"""
def __init__(self, func):
"""Constructor
@params func: name of the function (used when raising an
- exception).
+ exception).
@type func: str
"""
self._function = func