]> granicus.if.org Git - python/commitdiff
Updated Logger.log() docstring to clarify that lvl parameter should be an integer.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 4 Aug 2004 08:38:08 +0000 (08:38 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 4 Aug 2004 08:38:08 +0000 (08:38 +0000)
Lib/logging/__init__.py

index 8c63160c16714ba8620fda89a627722f39c305c9..5632acd72757c16847585f545cc732ac37b5aa98 100644 (file)
@@ -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.