From a4e7a82790a134ca44746de88bdc0354e90c442c Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Sun, 19 Jul 2015 19:13:36 +0200 Subject: Simplified the concurrency example by using a Future class --- src/decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/decorator.py b/src/decorator.py index 81fe389..ed5c6e0 100644 --- a/src/decorator.py +++ b/src/decorator.py @@ -217,7 +217,7 @@ def decorator(caller, _func=None): if _func is not None: # return a decorated function # this is obsolete behavior; you should use decorate instead return decorate(caller, _func) - # else return a decorator + # else return a decorator function if inspect.isclass(caller): name = caller.__name__.lower() callerfunc = get_init(caller) -- cgit v1.2.1