Skip to content

Commit 402b879

Browse files
committed
Change default value of options parameter to an empty dict
1 parent 74ab0bd commit 402b879

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
@@ -13,11 +13,11 @@ class URLPattern:
1313
self,
1414
input: URLPatternInput,
1515
baseURL: str,
16-
options: Optional[URLPatternOptions] = None,
16+
options: Optional[URLPatternOptions] = {},
1717
) -> None: ...
1818
@overload
1919
def __init__(
20-
self, input: URLPatternInput = {}, options: Optional[URLPatternOptions] = None
20+
self, input: URLPatternInput = {}, options: Optional[URLPatternOptions] = {}
2121
) -> None: ...
2222
def test(
2323
self, input: URLPatternInput = {}, baseURL: Optional[str] = None

0 commit comments

Comments
 (0)