Skip to content

Commit 4cf3ece

Browse files
committed
Fix #92
1 parent c9acde1 commit 4cf3ece

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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);
66416638
end;
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-
66536640
function TPythonEngine.PyString_AsDelphiString(ob: PPyObject): string;
66546641
begin
66556642
if PyUnicode_Check(ob) then

0 commit comments

Comments
 (0)