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:
9e0eb88
)
add docstring to rmmod
author
Oz
<nahumoz@gmail.com>
Sun, 16 Dec 2012 22:23:31 +0000
(23:23 +0100)
committer
Oz
<nahumoz@gmail.com>
Sun, 16 Dec 2012 22:23:31 +0000
(23:23 +0100)
kmod/kmod.pyx
patch
|
blob
|
history
diff --git
a/kmod/kmod.pyx
b/kmod/kmod.pyx
index 669e4686903d30b6640019b6a215c66485309247..556b0f2bbaae06967b559af160d7438dfa6afdb9 100644
(file)
--- a/
kmod/kmod.pyx
+++ b/
kmod/kmod.pyx
@@
-107,5
+107,9
@@
cdef class Kmod (object):
mod.insert(*args, **kwargs)
def rmmod(self, module_name, *args, **kwargs):
+ """
+ remove module from current tree
+ e.g. km.rmmod("thinkpad_acpi")
+ """
mod = self.module_from_name(name=module_name)
mod.remove(*args, **kwargs)