Skip to content

Commit 856a441

Browse files
committed
Merge branch 'document-function-macros' of https://github.com/ZeroIntensity/cpython into document-function-macros
2 parents 6bd56af + 184e7e2 commit 856a441

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Doc/c-api/function.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ There are a few functions specific to Python functions.
5959
6060
.. c:function:: PyObject *PyFunction_GET_CODE(PyObject *op)
6161
62-
Equivalent to :c:func:`PyFunction_GetCode`, but without error checking.
62+
Similar to :c:func:`PyFunction_GetCode`, but without error checking.
6363
6464
6565
.. c:function:: PyObject* PyFunction_GetGlobals(PyObject *op)
@@ -69,7 +69,7 @@ There are a few functions specific to Python functions.
6969
7070
.. c:function:: PyObject *PyFunction_GET_GLOBALS(PyObject *op)
7171
72-
Equivalent to :c:func:`PyFunction_GetGlobals`, but without error checking.
72+
Similar to :c:func:`PyFunction_GetGlobals`, but without error checking.
7373
7474
7575
.. c:function:: PyObject* PyFunction_GetModule(PyObject *op)
@@ -84,7 +84,7 @@ There are a few functions specific to Python functions.
8484
8585
.. c:function:: PyObject *PyFunction_GET_MODULE(PyObject *op)
8686
87-
Equivalent to :c:func:`PyFunction_GetModule`, but without error checking.
87+
Similar to :c:func:`PyFunction_GetModule`, but without error checking.
8888
8989
9090
.. c:function:: PyObject* PyFunction_GetDefaults(PyObject *op)
@@ -95,7 +95,7 @@ There are a few functions specific to Python functions.
9595
9696
.. c:function:: PyObject *PyFunction_GET_DEFAULTS(PyObject *op)
9797
98-
Equivalent to :c:func:`PyFunction_GetDefaults`, but without error checking.
98+
Similar to :c:func:`PyFunction_GetDefaults`, but without error checking.
9999
100100
101101
.. c:function:: int PyFunction_SetDefaults(PyObject *op, PyObject *defaults)
@@ -126,7 +126,7 @@ There are a few functions specific to Python functions.
126126
127127
.. c:function:: PyObject *PyFunction_GET_KW_DEFAULTS(PyObject *op)
128128
129-
Equivalent to :c:func:`PyFunction_GetKwDefaults`, but without error checking.
129+
Similar to :c:func:`PyFunction_GetKwDefaults`, but without error checking.
130130
131131
.. versionadded:: 3.0
132132
@@ -139,7 +139,7 @@ There are a few functions specific to Python functions.
139139
140140
.. c:function:: PyObject *PyFunction_GET_CLOSURE(PyObject *op)
141141
142-
Equivalent to :c:func:`PyFunction_GetClosure`, but without error checking.
142+
Similar to :c:func:`PyFunction_GetClosure`, but without error checking.
143143
144144
145145
.. c:function:: int PyFunction_SetClosure(PyObject *op, PyObject *closure)
@@ -160,7 +160,7 @@ There are a few functions specific to Python functions.
160160
161161
.. c:function:: PyObject *PyFunction_GET_ANNOTATIONS(PyObject *op)
162162
163-
Equivalent to :c:func:`PyFunction_GetAnnotations`, but without error checking.
163+
Similar to :c:func:`PyFunction_GetAnnotations`, but without error checking.
164164
165165
.. versionadded:: 3.0
166166

0 commit comments

Comments
 (0)