def box(self, *args): if len(args) == 0: vertint = 0 horint = 0 elif len(args) == 2: vertint = _convert_to_chtype(self, args[0]) horint = _convert_to_chtype(self, args[1]) else: raise TypeError('verch,horch required') lib.box(self._win, vertint, horint) return None
def box(self, vertint=0, horint=0): lib.box(self._win, vertint, horint) return None