Skip to content

Commit 93e7940

Browse files
committed
Fix bzopen output type.
Fix bzopen output type.
1 parent 3aca1a7 commit 93e7940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/internal/file.codon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def open(path, mode: str = "r") -> File:
404404
def gzopen(path: str, mode: str = "r") -> gzFile:
405405
return gzFile(path, mode)
406406

407-
def bzopen(path: str, mode: str = "r") -> gzFile:
407+
def bzopen(path: str, mode: str = "r") -> bzFile:
408408
return bzFile(path, mode)
409409

410410
def is_binary(path: str) -> bool:

0 commit comments

Comments
 (0)