]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add __all__ to logging module.
authorRaymond Hettinger <python@rcn.com>
Sat, 16 Feb 2008 01:22:54 +0000 (01:22 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 16 Feb 2008 01:22:54 +0000 (01:22 +0000)
Lib/logging/__init__.py

index 157ce74a126ac380d94a9f3ba67acc2123e382fe..2c84a6a9d089758231660cbdcc4778a1740b89c4 100644 (file)
@@ -26,6 +26,11 @@ Copyright (C) 2001-2008 Vinay Sajip. All Rights Reserved.
 To use, simply 'import logging' and log away!
 """
 
+__all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR',
+           'FATAL', 'FileHandler', 'Filter', 'Filterer', 'Formatter', 'Handler',
+           'INFO', 'LogRecord', 'Logger', 'Manager', 'NOTSET', 'PlaceHolder',
+           'RootLogger', 'StreamHandler', 'WARN', 'WARNING']
+
 import sys, os, types, time, string, cStringIO, traceback
 
 try: