Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f877efa

Browse files
committed
Comment out the function for now
Annotations do not yet work in CPython.
1 parent 69f2321 commit f877efa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

integration_tests/modules_01.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
from modules_01b import f, g
1+
from modules_01b import f #, g
22

33
def main()->i32:
44
x: i32
55
x = (2+3)*5
66
print(x)
77
f()
8-
x = g()
9-
print(x)
8+
# x = g()
9+
# print(x)
1010
return 0

integration_tests/modules_01b.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def f():
22
print("OK")
33

4-
def g() -> i32:
5-
return 5
4+
#def g() -> i32:
5+
# return 5

0 commit comments

Comments
 (0)