mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 22:31:12 +08:00
sunau: openfp is removed in py39 (#4066)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user