https://github.com/jetsetilly/python3_convert_matchtoif
Convert MATCH statements (Python 3.10 and above ) to regular IF statements
https://github.com/jetsetilly/python3_convert_matchtoif
python python3
Last synced: over 1 year ago
JSON representation
Convert MATCH statements (Python 3.10 and above ) to regular IF statements
- Host: GitHub
- URL: https://github.com/jetsetilly/python3_convert_matchtoif
- Owner: JetSetIlly
- Created: 2023-07-21T16:53:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T17:16:44.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T06:17:11.860Z (over 1 year ago)
- Topics: python, python3
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python3_convert_matchToIf
Small utility to convert Python `match` statements, found only in Python version 3.10 and above, to a regular `if` statement cascade.
Accepts a python file as an argument and prints converted file to stdout