From 85a64400d7107629e997ac412ceaa5af332e2730 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 30 Jun 2025 13:16:43 +0300 Subject: [PATCH] `os.linesep` can only be `\n` or `\r\n` (#14351) --- stdlib/os/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/os/__init__.pyi b/stdlib/os/__init__.pyi index 5286c76d1..dd4479f90 100644 --- a/stdlib/os/__init__.pyi +++ b/stdlib/os/__init__.pyi @@ -683,7 +683,7 @@ else: extsep: str pathsep: str defpath: str -linesep: str +linesep: Literal["\n", "\r\n"] devnull: str name: str