Skip to content

Commit b0e7a81

Browse files
kannessatwikkansal
authored andcommitted
make the function *call* more visible (satwikkansal#104)
It is easy to overlook the () in that appending operation, I propose adding a short comment.
1 parent d747788 commit b0e7a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ for x in range(7):
555555
def some_func():
556556
return x
557557
funcs.append(some_func)
558-
results.append(some_func())
558+
results.append(some_func()) # note the function call here
559559
560560
funcs_results = [func() for func in funcs]
561561
```

0 commit comments

Comments
 (0)