chore: allow uv run python -I ./whats_left.py

This commit is contained in:
Rex Ledesma authored and Jeong, YunWon committed 2025-05-08 14:51:52 +09:00
1 parent 908386091b
commit b8095b84ff
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ To enhance CPython compatibility, try to increase unittest coverage by checking
Another approach is to checkout the source code: builtin functions and object
methods are often the simplest and easiest way to contribute.
You can also simply run `./whats_left.py` to assist in finding any unimplemented
You can also simply run `uv run python -I whats_left.py` to assist in finding any unimplemented
method.
## Compiling to WebAssembly
+3
View File
@@ -1,4 +1,7 @@
#!/usr/bin/env -S python3 -I
# /// script
# requires-python = ">=3.13"
# ///
# This script generates Lib/snippets/whats_left_data.py with these variables defined:
# expected_methods - a dictionary mapping builtin objects to their methods