summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
commitecf41da83e5db98734b19f205899168cc56da943 (patch)
treee22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/logging.rst
parent9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff)
downloadcpython-ecf41da83e5db98734b19f205899168cc56da943.zip
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.bz2
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r--Doc/library/logging.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 72da385..e2da9b6 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -296,7 +296,7 @@ is the module's name in the Python package namespace.
Finds the caller's source filename and line number. Returns the filename, line
number, function name and stack information as a 4-element tuple. The stack
- information is returned as *None* unless *stack_info* is *True*.
+ information is returned as ``None`` unless *stack_info* is *True*.
.. method:: Logger.handle(record)
@@ -672,7 +672,7 @@ wire).
:param args: Variable data to merge into the *msg* argument to obtain the
event description.
:param exc_info: An exception tuple with the current exception information,
- or *None* if no exception information is available.
+ or ``None`` if no exception information is available.
:param func: The name of the function or method from which the logging call
was invoked.
:param sinfo: A text string representing stack information from the base of
@@ -754,7 +754,7 @@ the options available to you.
| | | (as returned by :func:`time.time`). |
+----------------+-------------------------+-----------------------------------------------+
| exc_info | You shouldn't need to | Exception tuple (à la ``sys.exc_info``) or, |
-| | format this yourself. | if no exception has occurred, *None*. |
+| | format this yourself. | if no exception has occurred, ``None``. |
+----------------+-------------------------+-----------------------------------------------+
| filename | ``%(filename)s`` | Filename portion of ``pathname``. |
+----------------+-------------------------+-----------------------------------------------+
@@ -1187,7 +1187,7 @@ functions.
:lno: The line number in the file where the logging call was made.
:msg: The logging message.
:args: The arguments for the logging message.
- :exc_info: An exception tuple, or None.
+ :exc_info: An exception tuple, or ``None``.
:func: The name of the function or method which invoked the logging
call.
:sinfo: A stack traceback such as is provided by