Skip to content

Commit 4c42c6c

Browse files
committed
Fix #495
1 parent 189fb29 commit 4c42c6c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Source/PythonEngine.pas

+5-5
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ PyConfig = record
10341034
{$IFDEF CPU64BITS}
10351035
((8, 80, 88, 144, 156, 160, 164, 172, 224, 104, 240, 248, 256, 272),
10361036
(8, 80, 88, 144, 156, 160, 164, 172, 224, 104, 240, 248, 256, 272),
1037-
(8, 80, 104, 152, 168, 172, 176, 184, 232, 240, 256, 272, 280, 296),
1037+
(8, 80, 104, 152, 168, 172, 176, 184, 240, 248, 264, 280, 288, 304),
10381038
(8, 96, 120, 168, 184, 188, 192, 200, 264, 272, 288, 304, 312, 336),
10391039
(8, 96, 120, 168, 184, 188, 192, 200, 268, 272, 288, 304, 312, 336),
10401040
(8, 96, 120, 168, 184, 188, 192, 200, 272, 280, 296, 312, 320, 344));
@@ -4730,7 +4730,7 @@ procedure TPythonEngine.DoOpenDll(const aDllName : string);
47304730

47314731
procedure TPythonEngine.Initialize;
47324732

4733-
procedure ConfgigPEP587(var ErrMsg: string);
4733+
procedure ConfigPEP587(var ErrMsg: string);
47344734
// Initialize according to PEP587 available since python 3.8
47354735

47364736
procedure AssignPyFlags(var Config: PyConfig);
@@ -4855,7 +4855,7 @@ procedure TPythonEngine.Initialize;
48554855
end;
48564856
end;
48574857

4858-
procedure ConfgigPEP741(var ErrMsg: string);
4858+
procedure ConfigPEP741(var ErrMsg: string);
48594859
// Initialize according to PEP587 available since python 3.8
48604860

48614861
procedure AssignPyFlags(Config: PPyInitConfig);
@@ -5039,9 +5039,9 @@ procedure TPythonEngine.Initialize;
50395039
else
50405040
begin
50415041
if (MajorVersion > 3) or (MinorVersion >= 14) then
5042-
ConfgigPEP741(ErrMsg)
5042+
ConfigPEP741(ErrMsg)
50435043
else
5044-
ConfgigPEP587(ErrMsg);
5044+
ConfigPEP587(ErrMsg);
50455045

50465046
if not FInitialized then
50475047
begin

0 commit comments

Comments
 (0)