File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2771,9 +2771,9 @@ TTypeServices = class(TPersistent)
27712771// -- --
27722772// -------------------------------------------------------
27732773
2774+ // The component that initializes a Python type and
2775+ // creates instances of itself.
27742776 // The base class of all new Python types
2775- // The component that initializes the Python type and
2776- // that creates instances of itself.
27772777 { $IF not Defined(FPC) and (CompilerVersion >= 23)}
27782778 [ComponentPlatformsAttribute(pidSupportedPlatforms)]
27792779 { $IFEND}
@@ -5096,8 +5096,8 @@ procedure TPythonEngine.Initialize;
50965096 if not Initialized then
50975097 Initialize;
50985098
5099-
51005099 { $IFDEF MSWINDOWS}
5100+ // fix #504
51015101 if not FRedirectIO and UseWindowsConsole then
51025102 PyRun_SimpleString(
51035103 ' import sys, io' #10 +
You can’t perform that action at this time.
0 commit comments