projects
/
python-kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17e301
)
Add docstrings to kmod.kmod and kmod.kmod.Kmod.
author
W. Trevor King
<wking@tremily.us>
Fri, 19 Oct 2012 04:07:39 +0000
(
00:07
-0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 19 Oct 2012 04:07:39 +0000
(
00:07
-0400)
Signed-off-by: W. Trevor King <wking@tremily.us>
kmod/kmod.pyx
patch
|
blob
|
history
diff --git
a/kmod/kmod.pyx
b/kmod/kmod.pyx
index fdba4c653af6b4c19ce35ae47ebb06424309da4a..8a13f3a3b2fc033e0a04e4f104e1aaad8b7d2e7d 100644
(file)
--- a/
kmod/kmod.pyx
+++ b/
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