summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2004-08-04 08:38:08 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2004-08-04 08:38:08 (GMT)
commiteb477d04f7be4bfbf356825a0d832c012dab1ac7 (patch)
tree35c1cb5f6350080c3480a9e8cccee58ce8de692d /Lib/logging
parent1cf56d0b8a8302db8b264fa0928130340b4c34a1 (diff)
downloadcpython-eb477d04f7be4bfbf356825a0d832c012dab1ac7.zip
cpython-eb477d04f7be4bfbf356825a0d832c012dab1ac7.tar.gz
cpython-eb477d04f7be4bfbf356825a0d832c012dab1ac7.tar.bz2
Updated Logger.log() docstring to clarify that lvl parameter should be an integer.
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 8c63160..5632acd 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.