Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
284 B
15 lines
284 B
6 days ago
|
from __future__ import annotations
|
||
|
|
||
|
from typing import NamedTuple
|
||
|
|
||
|
|
||
|
class URL(NamedTuple):
|
||
|
protocol: str | None
|
||
|
slashes: bool
|
||
|
auth: str | None
|
||
|
port: str | None
|
||
|
hostname: str | None
|
||
|
hash: str | None # noqa: A003
|
||
|
search: str | None
|
||
|
pathname: str | None
|