Skip to content
Permalink
Browse files

make the function *call* more visible (#104)

It is easy to overlook the () in that appending operation, I propose adding a short comment.
  • Loading branch information...
kannes authored and satwikkansal committed Dec 5, 2018
1 parent d747788 commit b0e7a816ec356197699d8c4d799d7c86457dbbaf
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]
```

0 comments on commit b0e7a81

Please sign in to comment.
You can’t perform that action at this time.