]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43858: Add logging.getLevelNamesMapping() (GH-26459)
authorandrei kulakov <andrei.avk@gmail.com>
Thu, 3 Jun 2021 08:12:59 +0000 (04:12 -0400)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 08:12:59 +0000 (01:12 -0700)
commit8b93f0e696d3fc60fd311c13d5238da73a35e3b3
tree0d1b5fd01fe4c7ab9ee1c38b801274a085bd7c4a
parent4846ea95d1a121df5e8081e2a290f63d1419cad8
bpo-43858: Add logging.getLevelNamesMapping() (GH-26459)

Added a function that returns a copy of a dict of logging levels.
Doc/library/logging.rst
Lib/logging/__init__.py
Lib/test/test_logging.py
Misc/NEWS.d/next/Library/2021-05-31-04-51-02.bpo-43858.r7LOu6.rst [new file with mode: 0644]