mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
wave: openfp is removed in py39 (#4064)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -72,4 +72,5 @@ class Wave_write:
|
||||
|
||||
# Returns a Wave_read if mode is rb and Wave_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