From e8b7c1a6d9ba6fe34e0ea803676f72cca48e4f94 Mon Sep 17 00:00:00 2001 From: Rex Ledesma Date: Wed, 7 May 2025 23:27:12 -0400 Subject: [PATCH] chore: allow `uv run python -I ./whats_left.py` --- README.md | 2 +- whats_left.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e472bd9f6a..3f564aff60 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/whats_left.py b/whats_left.py index 82df5cabe1..90200b8ff0 100755 --- a/whats_left.py +++ b/whats_left.py @@ -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