Skip to content

Commit be9a383

Browse files
[3.13] gh-136087: Remove \r from documented os.linesep values (GH-136088) (#136112)
gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088) (cherry picked from commit 980a568) Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent 76dd0ee commit be9a383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- os.extsep is the extension separator (always '.')
1111
- os.altsep is the alternate pathname separator (None or '/')
1212
- os.pathsep is the component separator used in $PATH etc
13-
- os.linesep is the line separator in text files ('\r' or '\n' or '\r\n')
13+
- os.linesep is the line separator in text files ('\n' or '\r\n')
1414
- os.defpath is the default search path for executables
1515
- os.devnull is the file path of the null device ('/dev/null', etc.)
1616

0 commit comments

Comments
 (0)