Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PythonForDelphi/Components/Sources/Core/VarPyth.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ procedure TPythonVariantType.DispInvoke(Dest: PVarData;
Var
NewCallDesc : TCallDesc;
begin
if CallDesc^.NamedArgCount > 0 then GetNamedParams;
GetNamedParams;
try
if (CallDesc^.CallType = CPropertyGet) and (CallDesc^.ArgCount = 1) then begin
NewCallDesc := CallDesc^;
Expand All @@ -1105,7 +1105,7 @@ procedure TPythonVariantType.DispInvoke(Dest: PVarData;
inherited;
{$ENDIF PATCHEDSYSTEMDISPINVOKE}
finally
if CallDesc^.NamedArgCount > 0 then SetLength(fNamedParams, 0);
SetLength(fNamedParams, 0);
end;
end;

Expand Down