diff --git a/README.md b/README.md index e472bd9f6..3f564aff6 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 82df5cabe..90200b8ff 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