mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 10:32:40 +08:00
Bump mypy to 1.0 (#9684)
This commit is contained in:
1 parent
f7cb7f33b2
commit
efee70abfa
37 files changed
+45
-167
No files matched your search
@@ -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