From b0e7a816ec356197699d8c4d799d7c86457dbbaf Mon Sep 17 00:00:00 2001 From: Hannes Date: Wed, 5 Dec 2018 20:45:59 +0100 Subject: [PATCH] make the function *call* more visible (#104) It is easy to overlook the () in that appending operation, I propose adding a short comment. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 855e2ac..9049fdb 100644 --- a/README.md +++ b/README.md @@ -555,7 +555,7 @@ for x in range(7): def some_func(): return x funcs.append(some_func) - results.append(some_func()) + results.append(some_func()) # note the function call here funcs_results = [func() for func in funcs] ```