summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-10-30 19:36:33 (GMT)
committerGitHub <noreply@github.com>2019-10-30 19:36:33 (GMT)
commitf2ba17be2aec873741c2d8a55b1342afa360aec2 (patch)
tree869bdb889cc7e01c2a384a211f1cc9fb96b67e0a /Include
parentdcb338ea1b8f14e21dde3564658b9040df996349 (diff)
downloadcpython-f2ba17be2aec873741c2d8a55b1342afa360aec2.zip
cpython-f2ba17be2aec873741c2d8a55b1342afa360aec2.tar.gz
cpython-f2ba17be2aec873741c2d8a55b1342afa360aec2.tar.bz2
[3.8] bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950) (GH-16999)
Replace all *NULL* with ``NULL``. (cherry picked from commit 25fc088607c855060ed142296dc1bd0125fad1af)
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 c226aab..777fd70 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -144,7 +144,7 @@ extern "C" {
/* 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:
@@ -154,9 +154,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). */