Skip to content

Commit 3758c51

Browse files
authored
Remove misleading line in pin documentation (#13611)
The documentation did not reflect #12921.
1 parent 30be27b commit 3758c51

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

crates/uv-cli/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5016,9 +5016,6 @@ pub struct PythonPinArgs {
50165016
///
50175017
/// When a local Python version pin is not found in the working directory or an ancestor
50185018
/// directory, this version will be used instead.
5019-
///
5020-
/// Unlike local version pins, this version is used as the default for commands that mutate
5021-
/// global state, like `uv tool install`.
50225019
#[arg(long)]
50235020
pub global: bool,
50245021
}

docs/reference/cli.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2866,7 +2866,6 @@ uv python pin [OPTIONS] [REQUEST]
28662866
</dd><dt id="uv-python-pin--global"><a href="#uv-python-pin--global"><code>--global</code></a></dt><dd><p>Update the global Python version pin.</p>
28672867
<p>Writes the pinned Python version to a <code>.python-version</code> file in the uv user configuration directory: <code>XDG_CONFIG_HOME/uv</code> on Linux/macOS and <code>%APPDATA%/uv</code> on Windows.</p>
28682868
<p>When a local Python version pin is not found in the working directory or an ancestor directory, this version will be used instead.</p>
2869-
<p>Unlike local version pins, this version is used as the default for commands that mutate global state, like <code>uv tool install</code>.</p>
28702869
</dd><dt id="uv-python-pin--help"><a href="#uv-python-pin--help"><code>--help</code></a>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
28712870
</dd><dt id="uv-python-pin--managed-python"><a href="#uv-python-pin--managed-python"><code>--managed-python</code></a></dt><dd><p>Require use of uv-managed Python versions.</p>
28722871
<p>By default, uv prefers using Python versions it manages. However, it will use system Python versions if a uv-managed Python is not installed. This option disables use of system Python versions.</p>

0 commit comments

Comments
 (0)