Files
proxy-scraper-checker/proxy_scraper_checker/__init__.py
T
2024-02-07 10:25:01 +03:00

13 lines
298 B
Python

from __future__ import annotations
import os as _os
# Monkeypatch os.link to make aiofiles work on Termux
if not hasattr(_os, "link"):
from .typing_compat import Any as _Any
def _link(*args: _Any, **kwargs: _Any) -> None: # noqa: ARG001
raise RuntimeError
_os.link = _link