Kaydet (Commit) e85488c6 authored tarafından Gregory P. Smith's avatar Gregory P. Smith

Mention that level can be an int or str in the setLevel docstring.

üst 564a42c8
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment