Commits

Miki Tebeka committed 208bda0

comment

Comments (0)

Files changed (1)

 
 class Timer(object):
     def __init__(self, name, log=None):
+        '''name: timer name
+           log: log function, most probably logger.info
+        '''
         self.name = name
         self.log = log or (lambda message: stdout.write(message + '\n'))