sunau: openfp is removed in py39 (#4066)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-05-24 17:34:48 -07:00
committed by GitHub
parent db14610298
commit b367799634

View File

@@ -83,4 +83,5 @@ class Au_write:
# Returns a Au_read if mode is rb and Au_write if mode is wb
def open(f: _File, mode: Optional[str] = ...) -> Any: ...
openfp = open
if sys.version_info < (3, 9):
openfp = open