add docstring to rmmod
authorOz <nahumoz@gmail.com>
Sun, 16 Dec 2012 22:23:31 +0000 (23:23 +0100)
committerOz <nahumoz@gmail.com>
Sun, 16 Dec 2012 22:23:31 +0000 (23:23 +0100)
kmod/kmod.pyx

index 669e4686903d30b6640019b6a215c66485309247..556b0f2bbaae06967b559af160d7438dfa6afdb9 100644 (file)
@@ -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)