mirror of https://github.com/python/cpython
#7052: remove nonexisting NullHandler from logging.__all__.
This commit is contained in:
parent
e8b2d18f80
commit
2b4df43c1c
|
@ -25,7 +25,7 @@ To use, simply 'import logging' and log away!
|
|||
|
||||
__all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR',
|
||||
'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO',
|
||||
'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET', 'NullHandler',
|
||||
'LogRecord', 'Logger', 'LoggerAdapter', 'NOTSET',
|
||||
'StreamHandler', 'WARN', 'WARNING', 'addLevelName', 'basicConfig',
|
||||
'captureWarnings', 'critical', 'debug', 'disable', 'error',
|
||||
'exception', 'fatal', 'getLevelName', 'getLogger', 'getLoggerClass',
|
||||
|
|
|
@ -91,6 +91,7 @@ class AllTest(unittest.TestCase):
|
|||
self.check_all("keyword")
|
||||
self.check_all("linecache")
|
||||
self.check_all("locale")
|
||||
self.check_all("logging")
|
||||
self.check_all("macpath")
|
||||
self.check_all("macurl2path")
|
||||
self.check_all("mailbox")
|
||||
|
|
Loading…
Reference in New Issue