https://github.com/python/cpython/commit/980a56843bf631ea80c1486a367d41031dec6a7e
commit: 980a56843bf631ea80c1486a367d41031dec6a7e
branch: main
author: sobolevn <m...@sobolevn.me>
committer: sobolevn <m...@sobolevn.me>
date: 2025-06-30T10:12:05+03:00
summary:

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

files:
M Lib/os.py

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.)
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to