import sys from typing_extensions import Final VER: Final[sys._version_info] def safe_string(value): ...