cpython: 0986401d0733 (original) (raw)

Mercurial > cpython

changeset 103017:0986401d0733

Fixes #27937: optimise code used in all logging calls. [#27937]

Vinay Sajip <vinay_sajip@yahoo.co.uk>
date Sat, 03 Sep 2016 15:56:07 +0100
parents 899ee1e68a8d
children 773c9401735f
files Lib/logging/__init__.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-)[+] [-] Lib/logging/__init__.py 5

line wrap: on

line diff

--- a/Lib/logging/init.py +++ b/Lib/logging/init.py @@ -130,8 +130,9 @@ def getLevelName(level): Otherwise, the string "Level %s" % level is returned. """

def addLevelName(level, levelName): """