From: W. Trevor King Date: Fri, 19 Oct 2012 04:07:39 +0000 (-0400) Subject: python: Add docstrings to kmod.kmod and kmod.kmod.Kmod. X-Git-Tag: v17~10^2~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7371989365888edaac60d2ac90d6135e0a85508;p=thirdparty%2Fkmod.git python: Add docstrings to kmod.kmod and kmod.kmod.Kmod. --- diff --git a/libkmod/python/kmod/kmod.pyx b/libkmod/python/kmod/kmod.pyx index fdba4c65..8a13f3a3 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