diff Objects/complexobject.c @ 11882:dc65c5f6ad7c legacy-trunk

Massive patch by Skip Montanaro to add ":name" to as many PyArg_ParseTuple() format string arguments as possible.
author Guido van Rossum <guido@python.org>
date Tue, 29 Feb 2000 13:59:29 +0000
parents 5e6e9e893acd
children 1c7c2dd1beb1
line wrap: on
line diff
--- a/Objects/complexobject.c	Tue Feb 29 13:31:16 2000 +0000
+++ b/Objects/complexobject.c	Tue Feb 29 13:59:29 2000 +0000
@@ -578,7 +578,7 @@
 	PyObject *args;
 {
 	Py_complex c;
-	if (!PyArg_ParseTuple(args, ""))
+	if (!PyArg_ParseTuple(args, ":conjugate"))
 		return NULL;
 	c = ((PyComplexObject *)self)->cval;
 	c.imag = -c.imag;