Skip to content

Commit f5906c6

Browse files
committed
A couple of minor changes.
1 parent 142db9f commit f5906c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PythonForDelphi/Components/Sources/Core/WrapDelphi.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ TPyDelphiWrapper = class(TEngineClient, IFreeNotificationSubscriber)
835835
function SetToPython(APropInfo: PPropInfo; AValue : Integer) : PPyObject; overload;
836836
function SetToPython(AInstance: TObject; APropInfo: PPropInfo) : PPyObject; overload;
837837
function PythonToSet(APropInfo: PPropInfo; ASet : PPyObject) : Integer; overload;
838-
function PythonToSet(ATypeInfo: PTypeInfo; ASet : PPyObject) : Integer; overload
838+
function PythonToSet(ATypeInfo: PTypeInfo; ASet : PPyObject) : Integer; overload;
839839
function SupportsFreeNotification(AObject : TObject) : Boolean;
840840
procedure RaiseNotifyEvent(PyDelphiWrapper : TPyDelphiWrapper; ACallable : PPyObject; Sender: TObject);
841841

@@ -1246,7 +1246,7 @@ function SetToPython(AInstance: TObject; APropInfo: PPropInfo) : PPyObject; over
12461246
Result := SetToPython(APropInfo, GetOrdProp(AInstance, APropInfo));
12471247
end;
12481248

1249-
function PythonToSet(ATypeInfo: PTypeInfo; ASet : PPyObject) : Integer; overload
1249+
function PythonToSet(ATypeInfo: PTypeInfo; ASet : PPyObject) : Integer; overload;
12501250
var
12511251
i : Integer;
12521252
EnumObj: PPyObject;

PythonForDelphi/Components/Sources/Core/WrapDelphiControls.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ class procedure TPyDelphiWinControl.RegisterGetSets(
572572
PythonType.AddGetSet('HandleAllocated', @TPyDelphiWinControl.Get_HandleAllocated, nil,
573573
'Reports whether a screen object handle exists for the control.', nil);
574574
PythonType.AddGetSet('ParentWindow', @TPyDelphiWinControl.Get_ParentWindow, nil,
575-
'Reference to parent’s underlying control.', nil);
575+
'Reference to parent''s underlying control.', nil);
576576
PythonType.AddGetSet('Showing', @TPyDelphiWinControl.Get_Showing, nil,
577577
'Indicates whether the control is showing on the screen. ', nil);
578578
end;

0 commit comments

Comments
 (0)