Files
proxy-scraper-checker/proxy_scraper_checker/typing_compat.py
T
2024-01-25 18:12:36 +03:00

11 lines
219 B
Python

from __future__ import annotations
import sys
if sys.version_info >= (3, 11):
from typing import Any, Literal, Self
else:
from typing_extensions import Any, Literal, Self
__all__ = ("Any", "Literal", "Self")