bpo-22069: Update TextIO documentation (GH-6609) · python/cpython@84fc6c5

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 84fc6c5

bpo-22069: Update TextIO documentation (GH-6609)

Clarify that flush is implied when the call to write contains a newline character. (cherry picked from commit 7ffd4c5) Co-authored-by: Elena Oat <oat.elena@gmail.com>

1 parent afe5f63 commit 84fc6c5

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -809,7 +809,7 @@ Text I/O

809809

the given string.

810810
811811

If *line_buffering* is ``True``, :meth:`flush` is implied when a call to

812-

write contains a newline character.

812+

write contains a newline character or a carriage return.

813813
814814

:class:`TextIOWrapper` provides one attribute in addition to those of

815815

:class:`TextIOBase` and its parents:

0 commit comments

Comments

 (0)