Skip to content
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

Fix a few typos in the docs #256

Merged
merged 1 commit into from
Jan 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ See the [overview](index.md#environment-variables) for more details.

### `PYLAUNCH_DEBUG`

When set, causes the Python Launcher to print out information about its interprter search to stderr.
When set, causes the Python Launcher to print out information about its interpreter search to stderr.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ not necessity.

The Python Launcher tries to launch the correct Python interpreter for your current situation.

The Python Launcher will always prefer a Python intrepreter associated with the current context over a globally installed interpreter (e.g. a virtual environment in the current directory is better than an interpreter on `PATH`). Beyond that, the Python interpreter always prefers the newest Python version available.
The Python Launcher will always prefer a Python interpreter associated with the current context over a globally installed interpreter (e.g. a virtual environment in the current directory is better than an interpreter on `PATH`). Beyond that, the Python interpreter always prefers the newest Python version available.

To accomplish all of this is a two-step process of gathering inputs in its decision-making process:

Expand All @@ -52,7 +52,7 @@ The Python Launcher lets you restrict, to varying specificity, what Python versi

#### On the command line

The `py` command supports a single flag that Python itself does not: a version restriction.The argument can take one of two forms:
The `py` command supports a single flag that Python itself does not: a version restriction. The argument can take one of two forms:

1. Major version restriction, e.g. `-3` for Python 3.x.
2. Major and minor version restriction, e.g. `-3.6` for Python 3.6.
Expand Down