def dump(self, fn, mode='a'):
	if not hasattr(fn, 'write'):
	    f = open(fn, mode)
	else:
	    f = fn
	try:
	    for r in self.get_trows():
		if not r[-1:] is '\n':
		    r += '\n'
		f.write(r)
	    end = '.end: .loader: %s\n'%self.loader
	    if r != end:
		f.write(end)
	finally:
	    if f is not fn:
		f.close()
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/heapy/Part.py/Stat.dump/operator `==` -> `is`