diff --git a/python4lazarus/Sources/Core/PythonEngine.pas b/python4lazarus/Sources/Core/PythonEngine.pas index 3361a3f..7a999f7 100644 --- a/python4lazarus/Sources/Core/PythonEngine.pas +++ b/python4lazarus/Sources/Core/PythonEngine.pas @@ -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; @@ -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; @@ -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