whoami7 - Manager
:
/
lib
/
python2.7
/
site-packages
/
IPython
/
parallel
/
client
/
Upload File:
files >> //lib/python2.7/site-packages/IPython/parallel/client/remotefunction.pyc
� M�UVc @ s� d Z d d l m Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z e d d � � Z e d d e d � � Z d � Z e d � � Z d e f d � � YZ d e f d � � YZ d d d d g Z d S( s* Remote Functions and decorators for Views.i����( t divisionN( t decorator( t skip_doctesti ( t map( t AsyncMapResultc s � � � f d � } | S( s� Turn a function into a remote function. This method can be used for map: In [1]: @remote(view,block=True) ...: def func(a): ...: pass c s t � | d � � �S( Nt block( t RemoteFunction( t f( R t flagst view( sJ /usr/lib/python2.7/site-packages/IPython/parallel/client/remotefunction.pyt remote_function s ( ( R R R R ( ( R R R sJ /usr/lib/python2.7/site-packages/IPython/parallel/client/remotefunction.pyt remote s t bc s � � � � � f d � } | S( s� Turn a function into a parallel remote function. This method can be used for map: In [1]: @parallel(view, block=True) ...: def func(a): ...: pass c s"