summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-05-12 21:41:39 (GMT)
committerFred Drake <fdrake@acm.org>2003-05-12 21:41:39 (GMT)
commitb5662898e73ead5bbc503ad13dc4d7031e610c8b (patch)
tree618d2892644f8f847537159f7fd286cc79cef5f2
parentc2659cff5d88b81b6d9cc739ecc457a9ed357c58 (diff)
downloadcpython-b5662898e73ead5bbc503ad13dc4d7031e610c8b.zip
cpython-b5662898e73ead5bbc503ad13dc4d7031e610c8b.tar.gz
cpython-b5662898e73ead5bbc503ad13dc4d7031e610c8b.tar.bz2
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 64d5051..9f8b4aa 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).
*/