From: Fred Drake Date: Mon, 12 May 2003 21:41:39 +0000 (+0000) Subject: Fix broken API descriptions in comments. X-Git-Tag: v2.3c1~746 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5662898e73ead5bbc503ad13dc4d7031e610c8b;p=thirdparty%2FPython%2Fcpython.git Fix broken API descriptions in comments. --- diff --git a/Include/abstract.h b/Include/abstract.h index 64d5051dd69c..9f8b4aaac1f0 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -350,10 +350,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ /* Call a callable Python object, callable_object, with a variable number of C arguments. The C arguments are provided - as PyObject * values; 'n' specifies the number of arguments - present. Returns the result of the call on success, or NULL - on failure. This is the equivalent of the Python expression: - apply(o,args). + as PyObject * values, terminated by a NULL. Returns the + result of the call on success, or NULL on failure. This is + the equivalent of the Python expression: apply(o,args). */ @@ -362,10 +361,10 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ /* Call the method named m of object o with a variable number of - C arguments. The C arguments are provided as PyObject * values; - 'n' specifies the number of arguments present. Returns the - result of the call on success, or NULL on failure. This is the - equivalent of the Python expression: o.method(args). + C arguments. The C arguments are provided as PyObject * + values, terminated by NULL. Returns the result of the call + on success, or NULL on failure. This is the equivalent of + the Python expression: o.method(args). */