Skip to content

Commit a9442ef

Browse files
authored
Remove right-adjust from logging example docs (#4461)
Only works with %-style formatting, but not in the logging module.
1 parent d37b0f8 commit a9442ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/basic/updates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For that, you can use **events**.
1616
.. code-block:: python
1717
1818
import logging
19-
logging.basicConfig(format='[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s',
19+
logging.basicConfig(format='[%(levelname) %(asctime)s] %(name)s: %(message)s',
2020
level=logging.WARNING)
2121
2222

0 commit comments

Comments
 (0)