Show More
@@ -312,13 +312,6 b' class InteractiveMultiEngineClient(object):' | |||||
312 | A Python string that names a callable defined on the engines. |
|
312 | A Python string that names a callable defined on the engines. | |
313 |
|
313 | |||
314 | :Returns: A `ParallelFunction` object. |
|
314 | :Returns: A `ParallelFunction` object. | |
315 |
|
||||
316 | Examples |
|
|||
317 | ======== |
|
|||
318 |
|
||||
319 | >>> psin = rc.parallelize('all','lambda x:sin(x)') |
|
|||
320 | >>> psin(range(10000)) |
|
|||
321 | [0,2,4,9,25,36,...] |
|
|||
322 | """ |
|
315 | """ | |
323 | targets, block = self._findTargetsAndBlock(targets, block) |
|
316 | targets, block = self._findTargetsAndBlock(targets, block) | |
324 | return ParallelFunction(func, self, targets, block) |
|
317 | return ParallelFunction(func, self, targets, block) |
General Comments 0
You need to be logged in to leave comments.
Login now