Files
proxy-scraper-checker/proxy_scraper_checker/null_context.py
T
2025-02-11 18:30:07 +03:00

18 lines
299 B
Python

from __future__ import annotations
class NullContext:
__slots__ = ()
def __enter__(self) -> None:
pass
def __exit__(self, *_: object) -> None:
pass
async def __aenter__(self) -> None:
pass
async def __aexit__(self, *_: object) -> None:
pass