File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 63
63
//| :rtype: bytes"""
64
64
//| ...
65
65
//|
66
- //| def readline(self, size= -1) -> Optional[bytes]:
67
- //| r"""Read a line, ending in a newline character ("\\n"), or
68
- //| return everything readable if no newline is found and ``timeout`` is 0.
66
+ //| def readline(self, size: int = -1) -> Optional[bytes]:
67
+ //| r"""Read a line ending in a newline character ("\\n"), including the newline.
68
+ //| Return everything readable if no newline is found and ``timeout`` is 0.
69
69
//| Return ``None`` in case of error.
70
70
//|
71
71
//| This is a binary stream: the newline character "\\n" cannot be changed.
72
- //| If the host computer transmits "\\r" it will be included as part of the line.
72
+ //| If the host computer transmits "\\r" it will also be included as part of the line.
73
73
//|
74
74
//| :param int size: maximum number of characters to read. ``-1`` means as many as possible.
75
75
//| :return: the line read
You can’t perform that action at this time.
0 commit comments