Commit ca2ce1b
committed
Fix template.create argument parser signature
PyXmlSec_TemplateCreate still used the format string
`O&O!O!|zzz:create` and passed a third optional string argument,
even though `template.create()` only accepts two optional string
parameters: `id` and `ns`.
Update the parser to use `|zz:create` and remove the stray extra
`&id` argument so the C binding matches the Python API.
This fixes the runtime failure:
SystemError: more argument specifiers than keyword list entries
(remaining format:'z:create')1 parent 94cd039 commit ca2ce1b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments