def _dump(obj):
	nodefmt = unicode('\n' + _i() + '"{0}"\n' + _i() + '{{\n{1}' + _i() + '}}\n\n')
	podfmt = unicode(_i() + '"{0}" "{1}"\n')
	lstfmt = unicode(_i() + (' ' * mult) + '"{0}" "1"')
	global indent

	indent += 1

	nodes = []
	for k, v in obj.iteritems():
		if isinstance(v, dict):
			nodes.append(nodefmt.format(k, _dump(v)))
		else:
			try:
				try:
					v.isdigit
					nodes.append(podfmt.format(k, v))
				except AttributeError:
					lst = map(lstfmt.format, v)
					nodes.append(nodefmt.format(k, '\n'.join(lst) + '\n'))
			except __HOLE__:
				nodes.append(podfmt.format(k, v))

	indent -= 1

	return unicode(''.join(nodes))
dataset/ETHPy150Open adamb70/CSGO-Market-Float-Finder/pysteamkit/vdf.py/_dump