#NEWLINE# def zero( self , borrow = False ) : #NEWLINE# #INDENT# '\n        Set the values of a shared variable to 0.\n\n        Parameters\n        ----------\n        borrow : bbol\n            True to modify the value of a shared variable directly by using\n            its previous value. Potentially this can cause problems\n            regarding to the aliased memory.\n\n        Changes done with this function will be visible to all functions using\n        this SharedVariable.\n\n        ' #NEWLINE# if self : #NEWLINE# #INDENT# self . container . value [ ... ] = 0 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . container . value = ( 0 * self . container . value )