gitlab.com/thomasboni/go-enry/v2@v2.8.3-0.20220418031202-30b0d7a3de98/_testdata/Generated/Haxe/main.py (about)

     1  # Generated by Haxe 4.0.5
     2  # coding: utf-8
     3  import sys
     4  
     5  
     6  
     7  class Main:
     8      __slots__ = ()
     9  
    10      @staticmethod
    11      def main():
    12          print("Hello World")
    13  
    14  
    15  class python_internal_MethodClosure:
    16      __slots__ = ("obj", "func")
    17  
    18      def __init__(self,obj,func):
    19          self.obj = obj
    20          self.func = func
    21  
    22      def __call__(self,*args):
    23          return self.func(self.obj,*args)
    24  
    25  
    26  
    27  
    28  Main.main()