From: Vinay Sajip Date: Wed, 4 Aug 2004 08:38:08 +0000 (+0000) Subject: Updated Logger.log() docstring to clarify that lvl parameter should be an integer. X-Git-Tag: v2.4a2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb477d04f7be4bfbf356825a0d832c012dab1ac7;p=thirdparty%2FPython%2Fcpython.git Updated Logger.log() docstring to clarify that lvl parameter should be an integer. --- diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 8c63160c1671..5632acd72757 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -967,7 +967,7 @@ class Logger(Filterer): def log(self, level, msg, *args, **kwargs): """ - Log 'msg % args' with the severity 'level'. + Log 'msg % args' with the integer severity 'level'. To pass exception information, use the keyword argument exc_info with a true value, e.g.