File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ class ReturnContainer(BaseContainer):
292292
293293def stub_function (f ):
294294 # Function implementation
295- stub_ret = [function_comments (f ), function_init (f"{ f .__module__ } _{ f .__name__ } " )]
295+ stub_ret = ["" , function_comments (f ), function_init (f"{ f .__module__ } _{ f .__name__ } " )]
296296 sig = inspect .signature (f )
297297 stub_ret [- 1 ] += function_params (sig .parameters )
298298 stub_ret .extend (parse_params (f , sig .parameters ))
@@ -414,11 +414,10 @@ def parse_params(f, params):
414414
415415
416416def headers ():
417- return """ // Include required definitions first.
417+ return ''' // Include required definitions first.
418418#include "py/obj.h"
419419#include "py/runtime.h"
420- #include "py/builtin.h"
421- """
420+ #include "py/builtin.h"'''
422421
423422
424423def function_comments (f ):
You can’t perform that action at this time.
0 commit comments