Skip to content

Commit

Permalink
del prop Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Oct 20, 2019
1 parent db00ab5 commit 303fe24
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions python4lazarus/Sources/Core/PythonEngine.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2216,8 +2216,6 @@ TPythonEngine = class(TPythonInterface)
FPyDateTime_TZInfoType: PPyObject;
FPyDateTime_TimeTZType: PPyObject;
FPyDateTime_DateTimeTZType: PPyObject;
function GetVersion: String;
procedure SetVersion(const Value: String);

protected
procedure AfterLoad; override;
Expand Down Expand Up @@ -2340,7 +2338,6 @@ TPythonEngine = class(TPythonInterface)
property PyFlags: TPythonFlags read FPyFlags write SetPyFlags default [];
property RedirectIO: Boolean read FRedirectIO write FRedirectIO default True;
property UseWindowsConsole: Boolean read FUseWindowsConsole write FUseWindowsConsole default False;
property Version : String read GetVersion write SetVersion stored False;
property OnAfterInit: TNotifyEvent read FOnAfterInit write FOnAfterInit;
property OnPathInitialization: TPathInitializationEvent read FOnPathInitialization write FOnPathInitialization;
property OnSysPathInit: TSysPathInitEvent read FOnSysPathInit write FOnSysPathInit;
Expand Down Expand Up @@ -6581,16 +6578,6 @@ function TPythonEngine.PyTZInfo_CheckExact( obj : PPyObject ) : Boolean;
Result := Assigned(FPyDateTime_DateType) and (Pointer(obj^.ob_type) = FPyDateTime_TZInfoType);
end;

function TPythonEngine.GetVersion: String;
begin
Result := '3.32';
end;

procedure TPythonEngine.SetVersion(const Value: String);
begin
// do nothing
end;

function TPythonEngine.PyString_AsDelphiString(ob: PPyObject): string;
begin
if PyUnicode_Check(ob) then
Expand Down

0 comments on commit 303fe24

Please sign in to comment.