summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-06-17 18:32:36 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-06-17 18:32:36 (GMT)
commit4157dd5a921775a1856c5665f6a0b391964f8846 (patch)
tree3e5e62dfc2090f5aa77c429b8dc42d76798b50af /Modules
parenta85e2c8557096df62dc568ccb6cc28fd8db72093 (diff)
downloadcpython-4157dd5a921775a1856c5665f6a0b391964f8846.zip
cpython-4157dd5a921775a1856c5665f6a0b391964f8846.tar.gz
cpython-4157dd5a921775a1856c5665f6a0b391964f8846.tar.bz2
Fix for bug [ #433047 ] missing args to PyArg_ParseTuple
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_codecsmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c
index 37d89e9..ea530ee 100644
--- a/Modules/_codecsmodule.c
+++ b/Modules/_codecsmodule.c
@@ -440,7 +440,7 @@ utf_16_le_encode(PyObject *self,
PyObject *str, *v;
const char *errors = NULL;
- if (!PyArg_ParseTuple(args, "O|zi:utf_16_le_encode",
+ if (!PyArg_ParseTuple(args, "O|z:utf_16_le_encode",
&str, &errors))
return NULL;
@@ -463,7 +463,7 @@ utf_16_be_encode(PyObject *self,
PyObject *str, *v;
const char *errors = NULL;
- if (!PyArg_ParseTuple(args, "O|zi:utf_16_be_encode",
+ if (!PyArg_ParseTuple(args, "O|z:utf_16_be_encode",
&str, &errors))
return NULL;