Skip to content

Commit 980a568

Browse files
authored
gh-136087: Remove \r from documented os.linesep values (#136088)
1 parent fb9f933 commit 980a568

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)