codon/stdlib/gzip.codon

8 lines
159 B
Python

# (c) 2022 Exaloop Inc. All rights reserved.
from internal.file import gzFile
def open(path: str, mode: str = "r") -> gzFile:
return gzFile(path, mode)