Skip to content

Commit e8b7c1a

Browse files
committed
chore: allow uv run python -I ./whats_left.py
1 parent 79646fd commit e8b7c1a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ To enhance CPython compatibility, try to increase unittest coverage by checking
221221
Another approach is to checkout the source code: builtin functions and object
222222
methods are often the simplest and easiest way to contribute.
223223

224-
You can also simply run `./whats_left.py` to assist in finding any unimplemented
224+
You can also simply run `uv run python -I whats_left.py` to assist in finding any unimplemented
225225
method.
226226

227227
## Compiling to WebAssembly

whats_left.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env -S python3 -I
2+
# /// script
3+
# requires-python = ">=3.13"
4+
# ///
25

36
# This script generates Lib/snippets/whats_left_data.py with these variables defined:
47
# expected_methods - a dictionary mapping builtin objects to their methods

0 commit comments

Comments
 (0)