()
return inner
Return blocking timer
Return blocking timer
Return blocking timer
def b_timer():
    """
    Return blocking timer
    """

    class inner(object):
        def __init__(self, secs, **kwargs):
            self.secs = secs

        def __call__(self, func, *args, **kwargs):
            func(*args, **kwargs)

    return inner
def b_timer ( ) : class inner ( object ) : def __init__ ( self , secs , * * kwargs ) : self . secs = secs def __call__ ( self , func , * args , * * kwargs ) : func ( * args , * * kwargs ) return inner