summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-12-17 21:40:19 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-12-17 21:40:19 (GMT)
commitbb305de584414f082afc1cbc2cd61160ef46d88a (patch)
treedbda3f68e55d0fc437c971c6cbe2d379166f28c5
parentab870218e341724aaf983df9e6e7a425edcbd88b (diff)
parente85488c6f4d01ad53e0836e90fcd6095d0a7a987 (diff)
downloadcpython-bb305de584414f082afc1cbc2cd61160ef46d88a.zip
cpython-bb305de584414f082afc1cbc2cd61160ef46d88a.tar.gz
cpython-bb305de584414f082afc1cbc2cd61160ef46d88a.tar.bz2
Merge
-rw-r--r--Lib/logging/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 25acb3f..3b2b9bf 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -789,7 +789,7 @@ class Handler(Filterer):
def setLevel(self, level):
"""
- Set the logging level of this handler.
+ Set the logging level of this handler. level must be an int or a str.
"""
self.level = _checkLevel(level)
@@ -1194,7 +1194,7 @@ class Logger(Filterer):
def setLevel(self, level):
"""
- Set the logging level of this logger.
+ Set the logging level of this logger. level must be an int or a str.
"""
self.level = _checkLevel(level)