Skip to content

Commit 2c7355b

Browse files
robertgoss-workmartinweismann
authored andcommitted
Correct python output syntax
1 parent 15bded8 commit 2c7355b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/buildbindingpython.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,9 @@ func buildDynamicPythonImplementation(componentdefinition ComponentDefinition, w
257257
w.Writeln("class %sExtendedHandle(ctypes.Structure):", NameSpace)
258258
w.Writeln(" _pack_ = 1")
259259
w.Writeln(" _fields_ = [")
260-
w.Writeln(" ('handle', ctypes.c_void_p)")
260+
w.Writeln(" ('handle', ctypes.c_void_p),")
261261
w.Writeln(" ('symbolLookupMethod', ctypes.c_void_p)")
262+
w.Writeln(" ]")
262263

263264

264265
w.Writeln("")

0 commit comments

Comments
 (0)