def createInstance(self, codec=None):
        if type(self.klass) is type:
            return self.klass.__new__(self.klass)

        return self.klass()
Creates an instance of the klass.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/alias.py/ClassAlias.createInstance