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

14 lines
295 B
Python

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