From: Raymond Hettinger Date: Sat, 16 Feb 2008 01:22:54 +0000 (+0000) Subject: Add __all__ to logging module. X-Git-Tag: v2.6a1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71fa93af224a221ae3c4d951a587a99d795d3a9d;p=thirdparty%2FPython%2Fcpython.git Add __all__ to logging module. --- diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 157ce74a126a..2c84a6a9d089 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -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: