mirror of
https://github.com/python/cpython.git
synced 2026-01-26 12:55:08 +00:00
Along the way, leave a deprecated Tools/wasm/wasi/__main__.py behind for backwards-compatibility. Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
6 lines
144 B
Python
6 lines
144 B
Python
if __name__ == "__main__":
|
|
import pathlib
|
|
import runpy
|
|
|
|
runpy.run_path(pathlib.Path(__file__).parent / "wasi", run_name="__main__")
|