def dump(self, f, name):
array = self.get()<EOL>print("<STR_LIT>" % (<EOL>name,<EOL>array.dtype.kind,<EOL>"<STR_LIT:U+002C>".join([str(int(size_axis)) for size_axis in array.shape]),<EOL>), file=f)<EOL>counter = <NUM_LIT:0><EOL>for value in array.flat:<EOL><INDENT>counter += <NUM_LIT:1><EOL>print("<STR_LIT>" % value, end='<STR_LIT:U+0020>', file=f)<EOL>if counter % <NUM_LIT:4> == <NUM_LIT:0>:<EOL><INDENT>print(file=f)<EOL><DEDENT><DEDENT>if counter % <NUM_LIT:4> != <NUM_LIT:0>:<EOL><INDENT>print(file=f)<EOL><DEDENT>
Write the attribute to a file-like object