#NEWLINE# def _copy_stashes( self , immutable = None ) : #NEWLINE# #INDENT# '\n        Returns a copy of the stashes (if immutable) or the stashes themselves (if not immutable). Used to abstract away\n        immutability.\n        ' #NEWLINE# if ( self . _immutable if ( immutable is None ) else v ) : #NEWLINE# #INDENT# return { k : list ( v ) for ( k , v ) in self . stashes . items ( ) } #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . stashes