mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
python: PEP 8: remove extra spaces in example lines
Remove (before opening round bracket) whitespaces in the documentation of the Python binding, according to the PEP 8 specification. This is just code reformatting, with no behaviour changes; no content changed beside whitespaces, so "git diff -w" gives an empty diff.
This commit is contained in:
@@ -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<guestfs(3)>.
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user