From: W. Trevor King Date: Fri, 19 Oct 2012 04:10:20 +0000 (-0400) Subject: README: cleanup reStructuredText syntax. X-Git-Tag: v0.9~1^2~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71d72674710aa12a27bc783f194b0cce5b38551c;p=python-kmod.git README: cleanup reStructuredText syntax. Signed-off-by: W. Trevor King --- 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