Debian Codegraph @

src/libtmux/_internal/types.py

raw symbols SCIP
1 """Internal type annotations.
2
3 Notes
4 -----
5 :class:`StrPath` is based on `typeshed's`_.
6
7 .. _typeshed's: https://github.com/python/typeshed/blob/5ff32f3/stdlib/_typeshed/__init__.pyi#L176-L179
8 """ # E501
9
10 from __future__ import annotations
11
12 import typing as t
13
14 if t.TYPE_CHECKING:
15 from os import PathLike
16 from typing import TypeAlias
17
18 StrPath: TypeAlias = "str | PathLike[str]"