From: Andrea Bolognani Date: Mon, 20 Feb 2023 10:14:27 +0000 (+0100) Subject: docs: Recommend better python3 shebang X-Git-Tag: v9.1.0-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af19e530ec76a064aea0bbc549ef79072cbb381;p=thirdparty%2Flibvirt.git docs: Recommend better python3 shebang Python scripts should always invoked the interpreter through env(1) to ensure that they work on macOS and the BSDs, and at this point not explicitly asking for Python 3 doesn't really make sense. Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- diff --git a/docs/hooks.rst b/docs/hooks.rst index 9c5f3ff456..9387676a55 100644 --- a/docs/hooks.rst +++ b/docs/hooks.rst @@ -78,7 +78,7 @@ or: :: - #!/usr/bin/python + #!/usr/bin/env python3 Other command interpreters are equally valid, as is any executable binary, so you are welcome to use your favourite languages.