Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 23fa7b0

Browse files
committed
Review edits of logging.rst
1 parent f23c70d commit 23fa7b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎doc/sphinx/source/logging.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Logging From C
2323

2424
This presents a recipe for using the Python logging module in C.
2525

26-
Many thanks to `nnathan <https://github.com/nnathan>`_ for this.
26+
Many thanks to `nnathan <https://github.com/nnathan>`_ for starting this.
2727

2828
We import the module and define C equivalent logging functions that are
2929
compatible with the `*printf` family.
@@ -220,7 +220,8 @@ The module initialisation, this is where the logging module is imported with ``P
220220
goto except;
221221
}
222222
/* 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 */
224225
if (PyModule_AddIntConstant(m, "INFO", LOGGING_INFO)) {
225226
goto except;
226227
}
@@ -346,7 +347,7 @@ Here is an example output:
346347
Frames
347348
----------------------
348349

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).
350351

351352
.. index::
352353
single: Frames; Python

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /