New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prefer "python" over "python3" for command line examples in docs. #98763
Comments
I agree it would be nice to be more consistent here. Here's the results of `git grep "$ python"` in the `Doc/` directory:
Here's the results of `git grep "$ python3"` in the `Doc/` directory:
In particular, it's pretty strange that the |
Homebrew still installs and links python as The referenced PEP says
Which argues that it should be |
I'm removing the "easy" label since we already have a PR here, it just needs to be reviewed :) |
On my Mac, python no longer refers to an executable. Only python3 works. So, at least for Mac Users, the status quo is better. With the proposed substitutions, the examples won't work any more. |
On my Windows machine, only I think it's unlikely that there's anything that works for everybody, sadly. |
Documentation
Currently docs are not consistent in using
python
vs.python3
for command line examples. As far as I'm aware, we should preferpython
, see https://peps.python.org/pep-0394/#for-end-users-of-pythonTasks
Linked PRs
The text was updated successfully, but these errors were encountered: