Skip to content

Commit c93e0b9

Browse files
committed
Fixing Stream Read\Write bytes method DocStr
1 parent a7f2567 commit c93e0b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/WrapDelphiClasses.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@ class procedure TPyDelphiStream.RegisterMethods(PythonType: TPythonType);
19261926
begin
19271927
inherited;
19281928
PythonType.AddMethod('ReadBytes', @TPyDelphiStream.ReadBytes_Wrapper,
1929-
'TPyDelphiStream.ReadBytes()' + #10 + 'Read content as bytearray.');
1929+
'TPyDelphiStream.ReadBytes()' + #10 + 'Read content as bytes.');
19301930
PythonType.AddMethod('ReadInt', @TPyDelphiStream.ReadInt_Wrapper,
19311931
'TPyDelphiStream.ReadInt()' + #10 + 'Read content as integer.');
19321932
PythonType.AddMethod('ReadString', @TPyDelphiStream.ReadString_Wrapper,
@@ -1935,7 +1935,7 @@ class procedure TPyDelphiStream.RegisterMethods(PythonType: TPythonType);
19351935
'TPyDelphiStream.ReadFloat()' + #10 + 'Read content as float.');
19361936

19371937
PythonType.AddMethod('WriteBytes', @TPyDelphiStream.WriteBytes_Wrapper,
1938-
'TPyDelphiStream.WriteBytes()' + #10 + 'Write content as bytearray.');
1938+
'TPyDelphiStream.WriteBytes()' + #10 + 'Write content as bytes.');
19391939
PythonType.AddMethod('WriteInt', @TPyDelphiStream.WriteInt_Wrapper,
19401940
'TPyDelphiStream.WriteInt()' + #10 + 'Write content as integer.');
19411941
PythonType.AddMethod('WriteString', @TPyDelphiStream.WriteString_Wrapper,

0 commit comments

Comments
 (0)