diff options
-rw-r--r-- | Objects/stringobject.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 264ed9a..dc47f9e 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -925,10 +925,8 @@ do_strip(self, args, striptype) { char *s = PyString_AS_STRING(self); int len = PyString_GET_SIZE(self), i, j; - PyObject *scobj = NULL; - int count = -1; - if (!PyArg_ParseTuple(args, "|Oi", scobj, count)) + if (!PyArg_ParseTuple(args, "")) return NULL; i = 0; |