def getTypeFunc(self, data):
        """
        @see: L{codec.Encoder.getTypeFunc}
        """
        t = type(data)

        if t in python.int_types:
            return self.writeInteger
        elif t is ByteArray:
            return self.writeByteArray
        elif t is pyamf.MixedArray:
            return self.writeDict

        return codec.Encoder.getTypeFunc(self, data)
def getTypeFunc ( self , data ) : t = type ( data ) if t in python . int_types : return self . writeInteger elif t is ByteArray : return self . writeByteArray elif t is pyamf . MixedArray : return self . writeDict return codec . Encoder . getTypeFunc ( self , data )
@see: L{codec.Encoder.getTypeFunc}