Skip to content

Commit 0258b8f

Browse files
committed
Minor changes clarifying comments.
1 parent 20dfc9a commit 0258b8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/PythonEngine.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 +

0 commit comments

Comments
 (0)