From 84b96a6745b11d2b2c400161a3fefce1dee99f60 Mon Sep 17 00:00:00 2001 From: Oz Date: Sun, 16 Dec 2012 23:23:31 +0100 Subject: [PATCH] add docstring to rmmod --- kmod/kmod.pyx | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.26.2