File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
PythonForDelphi/Components/Sources/Core Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -2233,8 +2233,6 @@ TPythonEngine = class(TPythonInterface)
22332233 FPyDateTime_TZInfoType: PPyObject;
22342234 FPyDateTime_TimeTZType: PPyObject;
22352235 FPyDateTime_DateTimeTZType: PPyObject;
2236- function GetVersion : String;
2237- procedure SetVersion (const Value : String);
22382236
22392237 protected
22402238 procedure AfterLoad ; override;
@@ -2361,7 +2359,6 @@ TPythonEngine = class(TPythonInterface)
23612359 property PyFlags: TPythonFlags read FPyFlags write SetPyFlags default [];
23622360 property RedirectIO: Boolean read FRedirectIO write FRedirectIO default True;
23632361 property UseWindowsConsole: Boolean read FUseWindowsConsole write FUseWindowsConsole default False;
2364- property Version : String read GetVersion write SetVersion stored False;
23652362 property OnAfterInit: TNotifyEvent read FOnAfterInit write FOnAfterInit;
23662363 property OnPathInitialization: TPathInitializationEvent read FOnPathInitialization write FOnPathInitialization;
23672364 property OnSysPathInit: TSysPathInitEvent read FOnSysPathInit write FOnSysPathInit;
@@ -6640,16 +6637,6 @@ function TPythonEngine.PyTZInfo_CheckExact( obj : PPyObject ) : Boolean;
66406637 Result := Assigned(FPyDateTime_DateType) and (Pointer(obj^.ob_type) = FPyDateTime_TZInfoType);
66416638end ;
66426639
6643- function TPythonEngine.GetVersion : String;
6644- begin
6645- Result := ' 3.32' ;
6646- end ;
6647-
6648- procedure TPythonEngine.SetVersion (const Value : String);
6649- begin
6650- // do nothing
6651- end ;
6652-
66536640function TPythonEngine.PyString_AsDelphiString (ob: PPyObject): string;
66546641begin
66556642 if PyUnicode_Check(ob) then
You can’t perform that action at this time.
0 commit comments