do_strip(): Fixed cut-and-paste error; this function should check for
zero arguments (found by Marc Lemburg).
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 @@
{
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;