fixed a few warnings and bugs, including ticket #1079

This commit is contained in:
Vadim Pisarevsky
2011-06-12 20:29:50 +00:00
parent b6c19d365f
commit 9df999154c
7 changed files with 8 additions and 5 deletions

View File

@@ -325,7 +325,7 @@ for nm,args,ty,flags in sorted(api):
ds_args += o2s(optional)
ds = "%s(%s) -> %s" % (nm, ds_args, str(ty))
print ds
#print ds
if has_optional(args):
entry = '{"%%s", (PyCFunction)pycv%s, METH_KEYWORDS, "%s"},' % (cname(nm), ds)