add __all__ variable to many modules

This commit is contained in:
Christophe Benz 2010-04-16 18:02:03 +02:00
commit cebcead318
10 changed files with 38 additions and 2 deletions

View file

@ -21,6 +21,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import sched
import time
__all__ = ['Scheduler']
class Scheduler(object):
def __init__(self):
self.scheduler = sched.scheduler(time.time, time.sleep)