@@ -2119,9 +2119,9 @@ Changes to Python's build process and to the C API include:
2119
2119
the various AST nodes in :file: `Parser/Python.asdl `. A Python script reads this
2120
2120
file and generates a set of C structure definitions in
2121
2121
:file: `Include/Python-ast.h `. The :c:func: `PyParser_ASTFromString ` and
2122
- :c:func: `PyParser_ASTFromFile `, defined in :file: `Include/pythonrun.h `, take
2122
+ :c:func: `! PyParser_ASTFromFile `, defined in :file: `Include/pythonrun.h `, take
2123
2123
Python source as input and return the root of an AST representing the contents.
2124
- This AST can then be turned into a code object by :c:func: `PyAST_Compile `. For
2124
+ This AST can then be turned into a code object by :c:func: `! PyAST_Compile `. For
2125
2125
more information, read the source code, and then ask questions on python-dev.
2126
2126
2127
2127
The AST code was developed under Jeremy Hylton's management, and implemented by
@@ -2172,7 +2172,7 @@ Changes to Python's build process and to the C API include:
2172
2172
``Py_LOCAL(type) `` declares the function as returning a value of the
2173
2173
specified *type * and uses a fast-calling qualifier.
2174
2174
``Py_LOCAL_INLINE(type) `` does the same thing and also requests the
2175
- function be inlined. If :c:func: ` PY_LOCAL_AGGRESSIVE ` is defined before
2175
+ function be inlined. If macro :c:macro: ` ! PY_LOCAL_AGGRESSIVE ` is defined before
2176
2176
:file: `python.h ` is included, a set of more aggressive optimizations are enabled
2177
2177
for the module; you should benchmark the results to find out if these
2178
2178
optimizations actually make the code faster. (Contributed by Fredrik Lundh at
@@ -2181,7 +2181,7 @@ Changes to Python's build process and to the C API include:
2181
2181
* ``PyErr_NewException(name, base, dict) `` can now accept a tuple of base
2182
2182
classes as its *base * argument. (Contributed by Georg Brandl.)
2183
2183
2184
- * The :c:func: `PyErr_Warn ` function for issuing warnings is now deprecated in
2184
+ * The :c:func: `! PyErr_Warn ` function for issuing warnings is now deprecated in
2185
2185
favour of ``PyErr_WarnEx(category, message, stacklevel) `` which lets you
2186
2186
specify the number of stack frames separating this function and the caller. A
2187
2187
*stacklevel * of 1 is the function calling :c:func: `PyErr_WarnEx `, 2 is the
@@ -2191,7 +2191,7 @@ Changes to Python's build process and to the C API include:
2191
2191
compiled with a C++ compiler without errors. (Implemented by Anthony Baxter,
2192
2192
Martin von Löwis, Skip Montanaro.)
2193
2193
2194
- * The :c:func: `PyRange_New ` function was removed. It was never documented, never
2194
+ * The :c:func: `! PyRange_New ` function was removed. It was never documented, never
2195
2195
used in the core code, and had dangerously lax error checking. In the unlikely
2196
2196
case that your extensions were using it, you can replace it by something like
2197
2197
the following::
0 commit comments