From: Oz Date: Sun, 16 Dec 2012 22:23:31 +0000 (+0100) Subject: add docstring to rmmod X-Git-Tag: v0.9.1~5^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84b96a6745b11d2b2c400161a3fefce1dee99f60;p=python-kmod.git add docstring to rmmod --- diff --git a/kmod/kmod.pyx b/kmod/kmod.pyx index 669e468..556b0f2 100644 --- 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)