Skip to content

Commit ff7fe24

Browse files
committed
Fix defaults for filename
1 parent a824afe commit ff7fe24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/3.3/lzma.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class LZMACompressor(object):
6868

6969
class LZMAFile(BinaryIO):
7070
def __init__(self,
71-
filename: _PathOrFile = ...,
71+
filename: Optional[_PathOrFile] = ...,
7272
mode: str = ...,
7373
*,
7474
format: Optional[int] = ...,
@@ -91,7 +91,7 @@ class LZMAFile(BinaryIO):
9191
def tell(self) -> int: ...
9292

9393

94-
def open(filename: _PathOrFile = ...,
94+
def open(filename: _PathOrFile,
9595
mode: str = ...,
9696
*,
9797
format: Optional[int] = ...,

0 commit comments

Comments
 (0)