Download Python/val/3.15/pattern-matching/modern_02.py from SwashBuckler001/idiombench: direct link, hf CLI and curl.
- Browser
- Download file 94 Bytes
-
https://huggingface.co/datasets/SwashBuckler001/idiombench/resolve/main/Python/val/3.15/pattern-matching/modern_02.py
- Command line
-
hf download hf://datasets/SwashBuckler001/idiombench/Python/val/3.15/pattern-matching/modern_02.py
-
curl -L -o modern_02.py https://huggingface.co/datasets/SwashBuckler001/idiombench/resolve/main/Python/val/3.15/pattern-matching/modern_02.py
94 Bytes
| # parse_options: {"target-version": "3.14"} | |
| match foo: | |
| case +1: ... | |
| case {+1: 2}: ... | |