def add(self, defn):
        """Adds the given Command Definition to this Command Dictionary."""
        self[defn.name]            = defn
        self.opcodes[defn._opcode] = defn
def add ( self , defn ) : self [ defn . name ] = defn self . opcodes [ defn . _opcode ] = defn
Adds the given Command Definition to this Command Dictionary.