11 lines
219 B
Python
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")
|