summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-05-12 21:38:50 +0000
committerFred Drake <fdrake@acm.org>2003-05-12 21:38:50 +0000
commitb26275d1a0a898767a686494db0a2cae35d6fa13 (patch)
tree8875145c2db78f8c6067226e3193ab56d097e992
parent21b42cac0257e61890404ebd4e2e35e61831afef (diff)
downloadcpython-b26275d1a0a898767a686494db0a2cae35d6fa13.tar.gz
Fix broken API descriptions in comments.
-rw-r--r--Include/abstract.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 226e5e8d0c..49687e25cc 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).
*/