1 from typing import overload
2 from urllib.parse import ParseResult, SplitResult
5 def __init__(self, url: str | ParseResult | SplitResult) -> None: ...
6 def __bool__(self) -> bool: ...
7 def __ne__(self, other: object) -> bool: ...
8 def __eq__(self, other: object) -> bool: ...
9 def __hash__(self) -> int: ...
12 def objectify(cls, url: None) -> None: ...
15 def objectify(cls, url: URL | str | ParseResult | SplitResult) -> URL: ...
16 def __getattr__(self, attr: str): ...
17 def __unicode__(self) -> str: ...
18 def strip_trailing_slash(self) -> URL: ...
19 def is_auth(self) -> bool: ...
20 def unauth(self) -> URL: ...
21 def canonical(self) -> URL: ...
22 def join(self, path: object) -> URL: ...
25 def make(url: None) -> None: ...
27 def make(url: URL | str | ParseResult | SplitResult) -> URL: ...