https://github.com/buckley-w-david/goto
Forbidden goto magic
https://github.com/buckley-w-david/goto
goto
Last synced: 4 months ago
JSON representation
Forbidden goto magic
- Host: GitHub
- URL: https://github.com/buckley-w-david/goto
- Owner: buckley-w-david
- Created: 2022-08-18T19:36:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-20T16:04:41.000Z (about 3 years ago)
- Last Synced: 2025-03-22T22:18:56.011Z (7 months ago)
- Topics: goto
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# goto
Forbidden `goto` magic
```python
>>> from goto import goto
>>>
>>> @goto
... def f():
... print("a")
... print("b")
... f.goto("end")
... print("c")
... f.label("end")
... print("d")
... return 5>>> f()
a
b
d
5
```