Updated good.py and added other ast.typed files

master
Sanjar Ahmadov 4 years ago
parent e9bd20a8bb
commit ffba0838d7

File diff suppressed because it is too large Load Diff

@ -1,8 +1,9 @@
# class defs # class defs
class A_CLASS(object): class A_CLASS(object):
a_class_i:int = 0 a_class_i:int = 0
def __init__(self:"A_CLASS", x:int): x:int=0
self.x = x def __init__(self:"A_CLASS"):
self.x = 0
def add(self:"A_CLASS", y:int) -> int: def add(self:"A_CLASS", y:int) -> int:
y = y+self.x y = y+self.x
@ -61,7 +62,7 @@ a_list = [1, 2, 3]
b_list = [0, 0, 0] b_list = [0, 0, 0]
c_list = [-1, -2, -3] c_list = [-1, -2, -3]
a_class = A_CLASS(5) a_class = A_CLASS()
b_class = B_CLASS() b_class = B_CLASS()
c_class = C_CLASS() c_class = C_CLASS()

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save