summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-19 00:07:39 -0400
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-20 07:22:52 -0300
commitf1556001319b677ca6f1f47841276f733fd33a60 (patch)
tree8acbcbb0d082a66ffdcc9f37acaa8fcecc995333
parent7b6beb918fcd44f0c8b39e3dde85e71c68e84c56 (diff)
downloadkmod-f1556001319b677ca6f1f47841276f733fd33a60.tar.gz
python: Add docstrings to kmod.kmod and kmod.kmod.Kmod.
-rw-r--r--libkmod/python/kmod/kmod.pyx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libkmod/python/kmod/kmod.pyx b/libkmod/python/kmod/kmod.pyx
index fdba4c6..8a13f3a 100644
--- a/libkmod/python/kmod/kmod.pyx
+++ b/libkmod/python/kmod/kmod.pyx
@@ -9,6 +9,8 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+"Define the Kmod class"
+
cimport cython as _cython
cimport _libkmod_h
from error import KmodError as _KmodError
@@ -19,6 +21,7 @@ import list as _list
cdef class Kmod (object):
+ "Wrap a struct kmod_ctx* item"
def __cinit__(self):
self._kmod_ctx = NULL