pyccel.ast.sysext module#
Module containing objects from the sys module understood by pyccel
- class pyccel.ast.sysext.SysExit(status=Literal(0))[source]#
Bases:
PyccelFunction
Represents a call to sys.exit.
Represents a call to sys.exit.
- Parameters:
status (TypedAstNode, optional) – If status.dtype is NativeInteger it will be used as the exit_code, else the status will be printed to the stderror.
- name = 'exit'#
- property status#
return the arg of exit