From 71d72674710aa12a27bc783f194b0cce5b38551c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 19 Oct 2012 00:10:20 -0400 Subject: [PATCH] README: cleanup reStructuredText syntax. Signed-off-by: W. Trevor King --- README | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/README b/README index 53a238a..1e72c15 100644 --- a/README +++ b/README @@ -20,28 +20,21 @@ https://github.com/agrover/python-kmod Example (python invoked as root) -------------------------------- ->>>import kmod - ->>>km = kmod.Kmod() - ->>>km.loaded_modules() - -[('nfs', 407706), - ('nfs_acl', 12741) - -... - - ('virtio_blk', 17549)] - ->>>km.modprobe("btrfs") - ->>>km.rmmod("btrfs") +:: + + >>> import kmod + >>> km = kmod.Kmod() + >>> km.loaded_modules() + [('nfs', 407706), + ('nfs_acl', 12741) + ... + ('virtio_blk', 17549)] + >>> km.modprobe("btrfs") + >>> km.rmmod("btrfs") Building -------- -Ensure Python and kmod headers are installed and run: - -python setup.py build - +Ensure Python and kmod headers are installed and run:: + $ python setup.py build -- 2.26.2