@@ -148,7 +148,7 @@ complete listing.
148
148
worse performances (due to increased code size for example). The compiler is
149
149
usually smarter than the developer for the cost/benefit analysis.
150
150
151
- If Python is :ref: `built in debug mode <debug-build >` (if the `` Py_DEBUG ` `
151
+ If Python is :ref: `built in debug mode <debug-build >` (if the :c:macro: ` Py_DEBUG `
152
152
macro is defined), the :c:macro: `Py_ALWAYS_INLINE ` macro does nothing.
153
153
154
154
It must be specified before the function return type. Usage::
@@ -812,12 +812,14 @@ available that support tracing of reference counts, debugging the memory
812
812
allocator, or low-level profiling of the main interpreter loop. Only the most
813
813
frequently used builds will be described in the remainder of this section.
814
814
815
- Compiling the interpreter with the :c:macro: `Py_DEBUG ` macro defined produces
815
+ .. c :macro :: Py_DEBUG
816
+
817
+ Compiling the interpreter with the :c:macro: `!Py_DEBUG ` macro defined produces
816
818
what is generally meant by :ref: `a debug build of Python <debug-build >`.
817
- :c:macro: `Py_DEBUG ` is enabled in the Unix build by adding
819
+ :c:macro: `! Py_DEBUG ` is enabled in the Unix build by adding
818
820
:option: `--with-pydebug ` to the :file: `./configure ` command.
819
821
It is also implied by the presence of the
820
- not-Python-specific :c:macro: `_DEBUG ` macro. When :c:macro: `Py_DEBUG ` is enabled
822
+ not-Python-specific :c:macro: `! _DEBUG ` macro. When :c:macro: `! Py_DEBUG ` is enabled
821
823
in the Unix build, compiler optimization is disabled.
822
824
823
825
In addition to the reference count debugging described below, extra checks are
@@ -832,4 +834,3 @@ after every statement run by the interpreter.)
832
834
833
835
Please refer to :file: `Misc/SpecialBuilds.txt ` in the Python source distribution
834
836
for more detailed information.
835
-
0 commit comments