We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f04fe commit e6c3d41Copy full SHA for e6c3d41
src/tmuxp/types.py
@@ -0,0 +1,14 @@
1
+"""Internal :term:`type annotations <annotation>`
2
+
3
+Notes
4
+-----
5
6
+:class:`StrPath` and :class:`StrOrBytesPath` is based on `typeshed's`_.
7
8
+.. _typeshed's: https://github.com/python/typeshed/blob/9687d5/stdlib/_typeshed/__init__.pyi#L98
9
+""" # NOQA E501
10
+from os import PathLike
11
+from typing import Union
12
13
+StrPath = Union[str, "PathLike[str]"]
14
+""":class:`os.PathLike` or :class:`str`"""
0 commit comments