Download Python/train/3.13/param-spec/modern_09.py from SwashBuckler001/idiombench: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/datasets/SwashBuckler001/idiombench/resolve/main/Python/train/3.13/param-spec/modern_09.py
- Command line
-
hf download hf://datasets/SwashBuckler001/idiombench/Python/train/3.13/param-spec/modern_09.py
-
curl -L -o modern_09.py https://huggingface.co/datasets/SwashBuckler001/idiombench/resolve/main/Python/train/3.13/param-spec/modern_09.py
378 Bytes
| def puts_p_into_scope(f: Callable[P, int]) -> None: | |
| def inner(*args: P.args, **kwargs: P.kwargs) -> None: # Accepted | |
| pass | |
| def mixed_up(*args: P.kwargs, **kwargs: P.args) -> None: # Rejected | |
| pass | |
| def misplaced(x: P.args) -> None: # Rejected | |
| pass | |
| def out_of_scope(*args: P.args, **kwargs: P.kwargs) -> None: # Rejected | |
| pass | |