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 <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-02-20 11:14:27 +01:00
parent 91d890bdce
commit 5af19e530e
1 changed files with 1 additions and 1 deletions

View File

@ -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.