@@ -23,7 +23,7 @@ Logging From C
23
23
24
24
This presents a recipe for using the Python logging module in C.
25
25
26
- Many thanks to `nnathan <https://github.com/nnathan >`_ for this.
26
+ Many thanks to `nnathan <https://github.com/nnathan >`_ for starting this.
27
27
28
28
We import the module and define C equivalent logging functions that are
29
29
compatible with the `*printf ` family.
@@ -220,7 +220,8 @@ The module initialisation, this is where the logging module is imported with ``P
220
220
goto except;
221
221
}
222
222
/* Adding module globals */
223
- /* logging levels defined by logging module Note: In Python logging FATAL = CRITICAL */
223
+ /* logging levels defined by logging module.
224
+ * Note: In Python logging FATAL = CRITICAL */
224
225
if (PyModule_AddIntConstant(m, "INFO", LOGGING_INFO)) {
225
226
goto except;
226
227
}
@@ -346,7 +347,7 @@ Here is an example output:
346
347
Frames
347
348
----------------------
348
349
349
- This describes how to extract the currently executing *frame * (or call stack if you wish).
350
+ This describes how to extract the currently executing Python *frame * (or call stack if you wish).
350
351
351
352
.. index ::
352
353
single: Frames; Python
0 commit comments