def __init__(self, dist): self._compiler = None Command.__init__(self, dist)
def warn(self, msg): """Counts the number of warnings that occurs.""" self._warnings.append(msg) return Command.warn(self, msg)