def patchCurses(self):
if (sys.version_info)[:<NUM_LIT:3>] == (<NUM_LIT:3>, <NUM_LIT:4>, <NUM_LIT:0>):<EOL><INDENT>self.addchar = lambda y, x, *args: self.win.addch(x, y, *args)<EOL><DEDENT>else:<EOL><INDENT>self.addchar = self.win.addch<EOL><DEDENT>
Fix curses addch function for python 3.4.0