Skip to content

Commit 5e17e93

Browse files
committed
Fix return type annotations for URLPattern constructors
1 parent a89988d commit 5e17e93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

urlpattern.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ class URLPattern:
1212
input: URLPatternInput,
1313
baseURL: str,
1414
options: URLPatternOptions | None = None,
15-
): ...
15+
) -> None: ...
1616
@overload
1717
def __init__(
1818
self, input: URLPatternInput, options: URLPatternOptions | None = None
19-
): ...
19+
) -> None: ...
2020
def test(self, input: URLPatternInput = {}, baseURL: str | None = None) -> bool: ...
2121
def exec(
2222
self, input: URLPatternInput = {}, baseURL: str | None = None

0 commit comments

Comments
 (0)