File: typing.py

package info (click to toggle)
python-dogpile.cache 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 836 kB
  • sloc: python: 6,620; makefile: 159; sh: 104
file content (10 lines) | stat: -rw-r--r-- 158 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
import sys

if sys.version_info >= (3, 11):
    from typing import Self
else:
    from typing_extensions import Self  # noqa: F401

__all__ = [
    "Self",
]