diff --git a/python/examples/guestfs-python.pod b/python/examples/guestfs-python.pod index 3a626d79d..0891827f6 100644 --- a/python/examples/guestfs-python.pod +++ b/python/examples/guestfs-python.pod @@ -5,9 +5,9 @@ guestfs-python - How to use libguestfs from Python =head1 SYNOPSIS import guestfs - g = guestfs.GuestFS (python_return_dict=True) - g.add_drive_opts ("disk.img", format="raw", readonly=1) - g.launch () + g = guestfs.GuestFS(python_return_dict=True) + g.add_drive_opts("disk.img", format="raw", readonly=1) + g.launch() =head1 DESCRIPTION @@ -20,7 +20,7 @@ libguestfs, you also need to read L. All new code should construct the handle using: - g = guestfs.GuestFS (python_return_dict=True) + g = guestfs.GuestFS(python_return_dict=True) This indicates that your program wants to receive Python dicts for methods in the API that return hashtables. @@ -38,7 +38,7 @@ Type: $ python >>> import guestfs - >>> help (guestfs) + >>> help(guestfs) =head2 USING PYTHON BINDINGS IN A VIRTUALENV