File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1088,7 +1088,7 @@ $-formatting to be used to build the actual "message" part which appears in the
1088
1088
formatted log output in place of "%(message)s" or "{message}" or "$message".
1089
1089
It's a little unwieldy to use the class names whenever you want to log
1090
1090
something, but it's quite palatable if you use an alias such as __ (double
1091
- underscore – not to be confused with _, the single underscore used as a
1091
+ underscore --- not to be confused with _, the single underscore used as a
1092
1092
synonym/alias for :func: `gettext.gettext ` or its brethren).
1093
1093
1094
1094
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 ::
1209
1209
at module level). It's probably one too many things to think about. Developers
1210
1210
could also add the filter to a :class: `~logging.NullHandler ` attached to their
1211
1211
top-level logger, but this would not be invoked if an application developer
1212
- attached a handler to a lower-level library logger – so output from that
1212
+ attached a handler to a lower-level library logger --- so output from that
1213
1213
handler would not reflect the intentions of the library developer.
1214
1214
1215
1215
In Python 3.2 and later, :class: `~logging.LogRecord ` creation is done through a
Original file line number Diff line number Diff line change 1
- :mod: `asyncio ` -- Asynchronous I/O, event loop, coroutines and tasks
2
- ====================================================================
1
+ :mod: `asyncio ` --- Asynchronous I/O, event loop, coroutines and tasks
2
+ =====================================================================
3
3
4
4
.. module :: asyncio
5
5
:synopsis: Asynchronous I/O, event loop, coroutines and tasks.
Original file line number Diff line number Diff line change 1
- :mod: `importlib ` -- The implementation of :keyword: `import `
2
- ===========================================================
1
+ :mod: `importlib ` --- The implementation of :keyword: `import `
2
+ ============================================================
3
3
4
4
.. module :: importlib
5
5
:synopsis: The implementation of the import machinery.
Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ The useful mapping keys in a :class:`LogRecord` are given in the section on
561
561
handled by a strptime format string (``'%Y-%m-%d %H:%M:%S' ``), and the
562
562
part after the comma is a millisecond value. Because strptime does not
563
563
have a format placeholder for milliseconds, the millisecond value is
564
- appended using another format string, ``'%s,%03d' `` – and both of these
564
+ appended using another format string, ``'%s,%03d' `` --- and both of these
565
565
format strings have been hardcoded into this method. With the change,
566
566
these strings are defined as class-level attributes which can be
567
567
overridden at the instance level when desired. The names of the
Original file line number Diff line number Diff line change 1
- :mod: `msvcrt ` -- Useful routines from the MS VC++ runtime
2
- =========================================================
1
+ :mod: `msvcrt ` --- Useful routines from the MS VC++ runtime
2
+ ==========================================================
3
3
4
4
.. module :: msvcrt
5
5
:platform: Windows
Original file line number Diff line number Diff line change 1
- :mod: `selectors ` -- High-level I/O multiplexing
2
- ===============================================
1
+ :mod: `selectors ` --- High-level I/O multiplexing
2
+ ================================================
3
3
4
4
.. module :: selectors
5
5
:synopsis: High-level I/O multiplexing.
Original file line number Diff line number Diff line change 1
- :mod: `winreg ` -- Windows registry access
1
+ :mod: `winreg ` --- Windows registry access
2
2
=========================================
3
3
4
4
.. module :: winreg
Original file line number Diff line number Diff line change 1
1
.. _tut-brieftourtwo :
2
2
3
3
*********************************************
4
- Brief Tour of the Standard Library -- Part II
5
- *********************************************
4
+ Brief Tour of the Standard Library --- Part II
5
+ **********************************************
6
6
7
7
This second tour covers more advanced modules that support professional
8
8
programming needs. These modules rarely occur in small scripts.
You can’t perform that action at this time.
0 commit comments