Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2fcf9b

Browse files
committed
Make the module docstring a raw string, so that the backslash in
"read until end of line ('\n') or EOF" will be treated literally. Fixes SF bug #860155.
1 parent bd311d8 commit c2fcf9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/StringIO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""File-like objects that read from or write to a string buffer.
1+
r"""File-like objects that read from or write to a string buffer.
22
33
This implements (nearly) all stdio methods.
44

0 commit comments

Comments
 (0)