Skip to content

Commit 2441eb0

Browse files
committed
Add self parameters
1 parent 12aad0e commit 2441eb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

urlpattern.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ URLPatternInput: TypeAlias = str | URLPatternInit
44

55
class URLPattern:
66
@overload
7-
def __init__(input: URLPatternInput, baseURL: str): ...
7+
def __init__(self, input: URLPatternInput, baseURL: str): ...
88
@overload
9-
def __init__(input: URLPatternInput = {}): ...
10-
def test(input: URLPatternInput = {}, baseURL: str | None = None) -> bool: ...
9+
def __init__(self, input: URLPatternInput = {}): ...
10+
def test(self, input: URLPatternInput = {}, baseURL: str | None = None) -> bool: ...
1111
def exec(
12-
input: URLPatternInput = {}, baseURL: str | None = None
12+
self, input: URLPatternInput = {}, baseURL: str | None = None
1313
) -> URLPatternResult | None: ...
1414
@property
1515
def protocol(self) -> str: ...

0 commit comments

Comments
 (0)