Show More
@@ -581,8 +581,8 b' Here are some examples of how you use :meth:`push` and :meth:`pull`:' | |||||
581 | In [41]: dview.pull(('a','b')) |
|
581 | In [41]: dview.pull(('a','b')) | |
582 | Out[41]: [ [1.03234, 3453], [1.03234, 3453], [1.03234, 3453], [1.03234, 3453] ] |
|
582 | Out[41]: [ [1.03234, 3453], [1.03234, 3453], [1.03234, 3453], [1.03234, 3453] ] | |
583 |
|
583 | |||
584 |
In [4 |
|
584 | In [42]: dview.push(dict(c='speed')) | |
585 |
Out[4 |
|
585 | Out[42]: [None,None,None,None] | |
586 |
|
586 | |||
587 | In non-blocking mode :meth:`push` and :meth:`pull` also return |
|
587 | In non-blocking mode :meth:`push` and :meth:`pull` also return | |
588 | :class:`AsyncResult` objects: |
|
588 | :class:`AsyncResult` objects: | |
@@ -648,7 +648,6 b' basic effect using :meth:`scatter` and :meth:`gather`:' | |||||
648 |
|
648 | |||
649 | In [67]: %px y = [i**10 for i in x] |
|
649 | In [67]: %px y = [i**10 for i in x] | |
650 | Parallel execution on engines: [0, 1, 2, 3] |
|
650 | Parallel execution on engines: [0, 1, 2, 3] | |
651 | Out[67]: |
|
|||
652 |
|
651 | |||
653 | In [68]: y = dview.gather('y') |
|
652 | In [68]: y = dview.gather('y') | |
654 |
|
653 |
General Comments 0
You need to be logged in to leave comments.
Login now