Skip to content

Commit 780626e

Browse files
authored
Fix webbrowser.MacOSX.__init__ (#13035)
1 parent 631c992 commit 780626e

File tree

6 files changed

+1
-10
lines changed

6 files changed

+1
-10
lines changed

stdlib/@tests/stubtest_allowlists/darwin-py310.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
webbrowser.MacOSX.__init__
2-
31
# Doesn't exist on macos:
42
spwd
53
_msi

stdlib/@tests/stubtest_allowlists/darwin-py311.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
webbrowser.MacOSX.__init__
2-
31
# Doesn't exist on macos:
42
spwd
53
_msi

stdlib/@tests/stubtest_allowlists/darwin-py312.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
webbrowser.MacOSX.__init__
2-
31
# Doesn't exist on macos:
42
spwd
53
_msi

stdlib/@tests/stubtest_allowlists/darwin-py38.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
webbrowser.MacOSX.__init__
2-
31
# Doesn't exist on macos:
42
spwd
53
_msi

stdlib/@tests/stubtest_allowlists/darwin-py39.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
webbrowser.MacOSX.__init__
2-
31
# Doesn't exist on macos:
42
spwd
53
_msi

stdlib/webbrowser.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ if sys.platform == "darwin":
6666
if sys.version_info < (3, 13):
6767
@deprecated("Deprecated in 3.11, to be removed in 3.13.")
6868
class MacOSX(BaseBrowser):
69+
def __init__(self, name: str) -> None: ...
6970
def open(self, url: str, new: int = 0, autoraise: bool = True) -> bool: ...
7071

7172
class MacOSXOSAScript(BaseBrowser): # In runtime this class does not have `name` and `basename`

0 commit comments

Comments
 (0)