From 5c2abc514d47d39b28b3404806c1ff4fad25bfdb Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Mon, 14 Jun 2004 18:11:52 +0000 Subject: [PATCH] replaced apply with direct call --- direct/src/ffi/FFITypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/ffi/FFITypes.py b/direct/src/ffi/FFITypes.py index c70e671e13..50043cbe21 100644 --- a/direct/src/ffi/FFITypes.py +++ b/direct/src/ffi/FFITypes.py @@ -785,7 +785,7 @@ class ClassTypeDescriptor(BaseTypeDescriptor): indent(file, nesting+2, 'if ((len(_args) == 1) and (_args[0] == None)):\n') indent(file, nesting+3, 'return\n') indent(file, nesting+2, '# Otherwise, call the C constructor\n') - indent(file, nesting+2, 'apply(self.constructor, _args)\n') + indent(file, nesting+2, 'self.constructor(*_args)\n') indent(file, nesting+2, '\n')