You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question regarding the compilation of a Python program using LPython. If a Python program contains any class or a class like the following:
class student:
def __init__(self: InOut['student'], name: str, age: i32):
self.name : str = name
self.age : i32 = age
Does this imply that after compilation, the code can only generate C++ code, and not C code? I would appreciate an explanation of why that might be the case. Thank you!