summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-30 10:03:20 (GMT)
committerGitHub <noreply@github.com>2019-10-30 10:03:20 (GMT)
commit25fc088607c855060ed142296dc1bd0125fad1af (patch)
tree384af093a75c0d66a00da4b1d2b184e68de67211 /Include
parentda6ce58dd5ac109485af45878fca6bfd265b43e9 (diff)
downloadcpython-25fc088607c855060ed142296dc1bd0125fad1af.zip
cpython-25fc088607c855060ed142296dc1bd0125fad1af.tar.gz
cpython-25fc088607c855060ed142296dc1bd0125fad1af.tar.bz2
bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)
Replace all *NULL* with ``NULL``.
Diffstat (limited to 'Include')
-rw-r--r--Include/abstract.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 8951f63..bb51c66 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -150,7 +150,7 @@ PyAPI_FUNC(PyObject *) PyObject_CallNoArgs(PyObject *func);
/* Call a callable Python object 'callable' with arguments given by the
tuple 'args' and keywords arguments given by the dictionary 'kwargs'.
- 'args' must not be *NULL*, use an empty tuple if no arguments are
+ 'args' must not be NULL, use an empty tuple if no arguments are
needed. If no named arguments are needed, 'kwargs' can be NULL.
This is the equivalent of the Python expression:
@@ -160,9 +160,9 @@ PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
/* Call a callable Python object 'callable', with arguments given by the
- tuple 'args'. If no arguments are needed, then 'args' can be *NULL*.
+ tuple 'args'. If no arguments are needed, then 'args' can be NULL.
- Returns the result of the call on success, or *NULL* on failure.
+ Returns the result of the call on success, or NULL on failure.
This is the equivalent of the Python expression:
callable(*args). */