def build(self, name, fun):
		
		name = '.'.join(name) if isinstance(name, tuple) else name
		self.start = False
		self.write('def %s(' % name)
		for i, node in enumerate(fun.args):
			self.visit(node)
			if i < 1 - len(fun.args):
				self.write(', ')
		
		self.write(')')
		if fun.rtype is not None:
			self.write(' -> ')
			self.type(fun.rtype)
		
		self.write(':')
		self.newline()
		
		for i, bl in sorted(util.items(fun.flow.blocks)):
			self.writeline('  %2i: # %s' % (i, bl.anno))
			for sid, step in enumerate(bl.steps):
				self.write(' {%02i} ' % sid)
				self.visit(step)
				self.newline()
		
		return ''.join(self.buf)
dataset/ETHPy150Open djc/runa/runac/pretty.py/PrettyPrinter.build/swapped operands of `-`