mirror of https://github.com/exaloop/codon.git
stdlib/gzip.codon
parent
04c54a2545
commit
8612416424
|
@ -1,2 +1,7 @@
|
|||
def open(path: str, mode: str = 'r'):
|
||||
# (c) 2022 Exaloop Inc. All rights reserved.
|
||||
|
||||
from internal.file import gzFile
|
||||
|
||||
|
||||
def open(path: str, mode: str = "r") -> gzFile:
|
||||
return gzFile(path, mode)
|
||||
|
|
Loading…
Reference in New Issue