mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,17 +1,19 @@
|
|||||||
|
from collections import OrderedDict
|
||||||
|
from threading import RLock
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
__all__: Any
|
__all__ = ['LRU']
|
||||||
|
|
||||||
class LRU:
|
class LRU:
|
||||||
_lock: Any
|
_lock: RLock
|
||||||
count: Any
|
count: int
|
||||||
d: Any
|
d: OrderedDict
|
||||||
def __init__(self, count, pairs=...) -> None: ...
|
def __init__(self, count: int, pairs: tuple[Any, Any] = ...) -> None: ...
|
||||||
def __contains__(self, obj): ...
|
def __contains__(self, obj) -> bool: ...
|
||||||
def get(self, obj, val: Any | None = ...): ...
|
def get(self, obj, val: Any | None = ...): ...
|
||||||
def __getitem__(self, obj): ...
|
def __getitem__(self, obj): ...
|
||||||
def __setitem__(self, obj, val) -> None: ...
|
def __setitem__(self, obj, val) -> None: ...
|
||||||
def __delitem__(self, obj) -> None: ...
|
def __delitem__(self, obj) -> None: ...
|
||||||
def __len__(self): ...
|
def __len__(self) -> int: ...
|
||||||
def pop(self, key): ...
|
def pop(self, key): ...
|
||||||
def clear(self) -> None: ...
|
def clear(self) -> None: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user