From 5e712b80ac1dc007802d011dc59ae954793153ea Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 29 Jun 2025 07:44:17 +0300 Subject: [PATCH] gh-136087: Remove `\r` from documented `os.linesep` values --- Lib/os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/os.py b/Lib/os.py index 643a7b2f58176a..12926c832f5ba5 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -10,7 +10,7 @@ - os.extsep is the extension separator (always '.') - os.altsep is the alternate pathname separator (None or '/') - 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.devnull is the file path of the null device ('/dev/null', etc.)