Files
proxy-scraper-checker/proxy_scraper_checker/counter.py
T
2025-01-09 12:41:33 +03:00

16 lines
245 B
Python

from __future__ import annotations
class IncrInt:
__slots__ = ("_v",)
def __init__(self) -> None:
self._v = 0
@property
def value(self) -> int:
return self._v
def incr(self) -> None:
self._v += 1