mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Bump mypy to 1.0 (#9684)
This commit is contained in:
@@ -65,4 +65,9 @@ if sys.platform == "darwin":
|
||||
def open(self, url: str, new: int = 0, autoraise: bool = True) -> bool: ...
|
||||
|
||||
class MacOSXOSAScript(BaseBrowser): # In runtime this class does not have `name` and `basename`
|
||||
if sys.version_info >= (3, 11):
|
||||
def __init__(self, name: str = "default") -> None: ...
|
||||
else:
|
||||
def __init__(self, name: str) -> None: ...
|
||||
|
||||
def open(self, url: str, new: int = 0, autoraise: bool = True) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user