Skip to content

Commit 85a6440

Browse files
authored
os.linesep can only be \n or \r\n (#14351)
1 parent 0c155fe commit 85a6440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/os/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ else:
683683
extsep: str
684684
pathsep: str
685685
defpath: str
686-
linesep: str
686+
linesep: Literal["\n", "\r\n"]
687687
devnull: str
688688
name: str
689689

0 commit comments

Comments
 (0)