##// END OF EJS Templates
Renamed __pretty__ to _repr_pretty_ and changed updated pretty.py...
Renamed __pretty__ to _repr_pretty_ and changed updated pretty.py * Throughout the codebase, __pretty__ has been changed to _repr_pretty_ to match general convention for special method names. * The logic in pretty.py now matches that in formatters.py in that formatters that are callables are tried first and then special methods are used.

File last commit:

r3690:aafdf2be
r3879:4241df5e
Show More
task1.py
12 lines | 188 B | text/x-python | PythonLexer
from IPython.parallel import Client
rc = Client()
v = rc.load_balanced_view()
rc[:]['d'] = 30
def task(a):
return a, 10*d, a*10*d
ar = v.apply(task, 5)
print "a, b, c: ", ar.get()