Show More
@@ -379,7 +379,7 b' class View(HasTraits):' | |||||
379 | # Decorators |
|
379 | # Decorators | |
380 | #------------------------------------------------------------------- |
|
380 | #------------------------------------------------------------------- | |
381 |
|
381 | |||
382 |
def remote(self, block= |
|
382 | def remote(self, block=None, **flags): | |
383 | """Decorator for making a RemoteFunction""" |
|
383 | """Decorator for making a RemoteFunction""" | |
384 | block = self.block if block is None else block |
|
384 | block = self.block if block is None else block | |
385 | return remote(self, block=block, **flags) |
|
385 | return remote(self, block=block, **flags) | |
@@ -797,7 +797,7 b' class DirectView(View):' | |||||
797 | def __setitem__(self,key, value): |
|
797 | def __setitem__(self,key, value): | |
798 | self.update({key:value}) |
|
798 | self.update({key:value}) | |
799 |
|
799 | |||
800 |
def clear(self, targets=None, block= |
|
800 | def clear(self, targets=None, block=None): | |
801 | """Clear the remote namespaces on my engines.""" |
|
801 | """Clear the remote namespaces on my engines.""" | |
802 | block = block if block is not None else self.block |
|
802 | block = block if block is not None else self.block | |
803 | targets = targets if targets is not None else self.targets |
|
803 | targets = targets if targets is not None else self.targets |
General Comments 0
You need to be logged in to leave comments.
Login now