8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 818e428 commit c51438eCopy full SHA for c51438e
stdlib/logging/__init__.pyi
@@ -244,14 +244,14 @@ class Logger(Filterer):
244
def hasHandlers(self) -> bool: ...
245
def callHandlers(self, record: LogRecord) -> None: ... # undocumented
246
247
-CRITICAL: int
248
-FATAL: int
249
-ERROR: int
250
-WARNING: int
251
-WARN: int
252
-INFO: int
253
-DEBUG: int
254
-NOTSET: int
+CRITICAL: Literal[50]
+FATAL: Literal[50]
+ERROR: Literal[40]
+WARNING: Literal[30]
+WARN: Literal[30]
+INFO: Literal[20]
+DEBUG: Literal[10]
+NOTSET: Literal[0]
255
256
class Handler(Filterer):
257
level: int # undocumented
0 commit comments