codon/stdlib/gzip.codon

7 lines
173 B
Python
Raw Normal View History

# Copyright (C) 2022-2025 Exaloop Inc. <https://exaloop.io>
2022-01-24 13:07:24 +08:00
from internal.file import gzFile
def open(path: str, mode: str = "r") -> gzFile:
2021-09-28 02:02:44 +08:00
return gzFile(path, mode)