]> granicus.if.org Git - python/commitdiff
Fix broken API descriptions in comments.
authorFred Drake <fdrake@acm.org>
Mon, 12 May 2003 21:41:39 +0000 (21:41 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 12 May 2003 21:41:39 +0000 (21:41 +0000)
Include/abstract.h

index 64d5051dd69c012cbf4494234fa03b0aca1f98e4..9f8b4aaac1f075175408c25d3471b3bd624db114 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).
        */