mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
gh-106909: Use role :const: for referencing module constants (GH-106910)
This commit is contained in:
parent
d036db728e
commit
4b9948617f
64 changed files with 238 additions and 238 deletions
|
|
@ -34,7 +34,7 @@ There are several ways to enable asyncio debug mode:
|
|||
In addition to enabling the debug mode, consider also:
|
||||
|
||||
* setting the log level of the :ref:`asyncio logger <asyncio-logger>` to
|
||||
:py:data:`logging.DEBUG`, for example the following snippet of code
|
||||
:py:const:`logging.DEBUG`, for example the following snippet of code
|
||||
can be run at startup of the application::
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
|
@ -142,7 +142,7 @@ Logging
|
|||
asyncio uses the :mod:`logging` module and all logging is performed
|
||||
via the ``"asyncio"`` logger.
|
||||
|
||||
The default log level is :py:data:`logging.INFO`, which can be easily
|
||||
The default log level is :py:const:`logging.INFO`, which can be easily
|
||||
adjusted::
|
||||
|
||||
logging.getLogger("asyncio").setLevel(logging.WARNING)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue