Skip to content

Commit e4ab3a8

Browse files
committed
Call PyType_Ready in TPythonType.Initialize
1 parent afbe277 commit e4ab3a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/PythonEngine.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8632,6 +8632,8 @@ procedure TPythonType.Initialize;
86328632
Module.AddClient( Self );
86338633
end;
86348634
InitServices;
8635+
if Engine.PyType_Ready(TheTypePtr) <> 0 then
8636+
Engine.CheckError;
86358637
inherited;
86368638
end;
86378639

0 commit comments

Comments
 (0)