Skip to content

Commit 36eb309

Browse files
committed
Remove unneeded comment from examples/expr2.py
We support the `if __name__ == "__main__"` syntax now
1 parent 6be4353 commit 36eb309

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

examples/expr2.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
from lpython import i32
2+
13
def main0():
24
x: i32
35
x = (2+3)*5
46
print(x)
57

6-
main0()
7-
8-
# Not implemented yet in LPython:
9-
#if __name__ == "__main__":
10-
# main()
8+
if __name__ == "__main__":
9+
main0()

0 commit comments

Comments
 (0)