]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix broken API descriptions in comments.
authorFred Drake <fdrake@acm.org>
Mon, 12 May 2003 21:38:50 +0000 (21:38 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 12 May 2003 21:38:50 +0000 (21:38 +0000)
Include/abstract.h

index 226e5e8d0c0d861ff3f2d271e30b0747079afa33..49687e25cc0ad69c82d936205c6f98ffa1d58f81 100644 (file)
@@ -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).
        */