[PATCH v2] doc/python: Update to Python 3
Daniel P. Berrangé
berrange at redhat.com
Mon Apr 20 13:07:14 UTC 2020
On Mon, Apr 20, 2020 at 03:01:11PM +0200, Philipp Hahn wrote:
> Convert the simple example to Python 3 syntax:
> - print() is a function
> - do not use bare except
> - libvirt.open*() does not return None but raises an exception
>
> The referenced source for the example was removed with
> 5bb2a245abbde4c0a407f631660e2f2c81bc4c02
>
> Signed-off-by: Philipp Hahn <hahn at univention.de>
> ---
> docs/python.html.in | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
and pushed to git.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list