gh-136087: Remove \r from documented os.linesep values (#136088)

This commit is contained in:
sobolevn 2025-06-30 10:12:05 +03:00 committed by GitHub
parent fb9f933b8e
commit 980a56843b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ This exports:
- os.extsep is the extension separator (always '.') - os.extsep is the extension separator (always '.')
- os.altsep is the alternate pathname separator (None or '/') - os.altsep is the alternate pathname separator (None or '/')
- os.pathsep is the component separator used in $PATH etc - os.pathsep is the component separator used in $PATH etc
- os.linesep is the line separator in text files ('\r' or '\n' or '\r\n') - os.linesep is the line separator in text files ('\n' or '\r\n')
- os.defpath is the default search path for executables - os.defpath is the default search path for executables
- os.devnull is the file path of the null device ('/dev/null', etc.) - os.devnull is the file path of the null device ('/dev/null', etc.)