mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix a few doc errors, mostly undefined keywords.
This commit is contained in:
parent
6dc50f34dd
commit
375aec2315
14 changed files with 57 additions and 57 deletions
|
@ -6,7 +6,8 @@ Logging Cookbook
|
|||
|
||||
:Author: Vinay Sajip <vinay_sajip at red-dove dot com>
|
||||
|
||||
This page contains a number of recipes related to logging, which have been found useful in the past.
|
||||
This page contains a number of recipes related to logging, which have been found
|
||||
useful in the past.
|
||||
|
||||
.. currentmodule:: logging
|
||||
|
||||
|
@ -283,7 +284,7 @@ One solution is to use a two-part approach. For the first part, attach only a
|
|||
performance-critical threads. They simply write to their queue, which can be
|
||||
sized to a large enough capacity or initialized with no upper bound to their
|
||||
size. The write to the queue will typically be accepted quickly, though you
|
||||
will probably need to catch the :ref:`queue.Full` exception as a precaution
|
||||
will probably need to catch the :exc:`queue.Full` exception as a precaution
|
||||
in your code. If you are a library developer who has performance-critical
|
||||
threads in their code, be sure to document this (together with a suggestion to
|
||||
attach only ``QueueHandlers`` to your loggers) for the benefit of other
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue