codon/stdlib/bz2.codon

7 lines
173 B
Python

# Copyright (C) 2022-2024 Exaloop Inc. <https://exaloop.io>
from internal.file import bzFile
def open(path: str, mode: str = "r") -> bzFile:
return bzFile(path, mode)