Skip to content

Commit

Permalink
Create sample data list using list comprehensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fred3m committed Sep 14, 2016
1 parent c837110 commit 3918270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demoPool.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test2(cache, data, *args, **kwargs):

startPool()

dataList = list(map(float, range(NUM)))
dataList = [float(i) for i in range(NUM)]


def context1(pool1):
Expand Down

0 comments on commit 3918270

Please sign in to comment.