Skip to content

Commit dc5ae78

Browse files
Extra format character removed.
1 parent 4eeeffb commit dc5ae78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bind/gen_func.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (g *pyGen) genFuncSig(sym *symbol, fsym *Func) bool {
9494
} else {
9595
goArgs = append(goArgs, fmt.Sprintf("%s %s", anm, sarg.cgoname))
9696
if sarg.cpyname == "PyObject*" {
97-
pyArgs = append(pyArgs, fmt.Sprintf("param('%s', '%s%s', transfer_ownership=False)", sarg.cpyname, anm))
97+
pyArgs = append(pyArgs, fmt.Sprintf("param('%s', '%s', transfer_ownership=False)", sarg.cpyname, anm))
9898
} else {
9999
pyArgs = append(pyArgs, fmt.Sprintf("param('%s', '%s')", sarg.cpyname, anm))
100100
}

0 commit comments

Comments
 (0)