There was an error while loading. Please reload this page.
1 parent ffec29a commit 2c244ddCopy full SHA for 2c244dd
Source/PythonEngine.pas
@@ -140,6 +140,7 @@ TPythonVersionProp = record
140
METH_KEYWORDS = $0002;
141
METH_CLASS = $0010;
142
METH_STATIC = $0020;
143
+ METH_COEXIST = $0040;
144
145
// Masks for the co_flags field of PyCodeObject
146
CO_OPTIMIZED = $0001;
@@ -7986,10 +7987,10 @@ procedure TPythonType.SetPyObjectClass( val : TPyObjectClass );
7986
7987
if Assigned(val) then
7988
begin
7989
FType.tp_basicsize := val.InstanceSize + Sizeof(PyObject);
- val.SetupType( Self );
7990
val.RegisterMethods( Self );
7991
val.RegisterMembers( Self );
7992
val.RegisterGetSets( Self );
7993
+ val.SetupType( Self );
7994
end;
7995
7996
0 commit comments