diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-04 08:22:09 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-04 08:22:09 (GMT) |
commit | e418432dfbe63e19b75e7c51208fdc4c8808bf53 (patch) | |
tree | 1620f50b05e3d4edea48a0693f643469572231cc /Doc/howto | |
parent | 21cf577526a6730d7fb38a44398749219ec96e9b (diff) | |
parent | 29b0a268220282c49024fb50eedfd325368b1a6a (diff) | |
download | cpython-e418432dfbe63e19b75e7c51208fdc4c8808bf53.zip cpython-e418432dfbe63e19b75e7c51208fdc4c8808bf53.tar.gz cpython-e418432dfbe63e19b75e7c51208fdc4c8808bf53.tar.bz2 |
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/logging-cookbook.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index de0d304..f962cd8 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -1088,7 +1088,7 @@ $-formatting to be used to build the actual "message" part which appears in the formatted log output in place of "%(message)s" or "{message}" or "$message". It's a little unwieldy to use the class names whenever you want to log something, but it's quite palatable if you use an alias such as __ (double -underscore – not to be confused with _, the single underscore used as a +underscore --- not to be confused with _, the single underscore used as a synonym/alias for :func:`gettext.gettext` or its brethren). The above classes are not included in Python, though they're easy enough to @@ -1209,7 +1209,7 @@ do simply by adding new packages or modules and doing :: at module level). It's probably one too many things to think about. Developers could also add the filter to a :class:`~logging.NullHandler` attached to their top-level logger, but this would not be invoked if an application developer -attached a handler to a lower-level library logger – so output from that +attached a handler to a lower-level library logger --- so output from that handler would not reflect the intentions of the library developer. In Python 3.2 and later, :class:`~logging.LogRecord` creation is done through a |