summaryrefslogtreecommitdiffstats
path: root/venv/lib/python3.9/site-packages/mdurl/_url.py
blob: f866e7a179c8854e37c9bba6294f48681e5d99d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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