diff options
| author | robot-piglet <[email protected]> | 2024-03-28 17:28:22 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-03-28 17:37:38 +0300 |
| commit | 73c78e63703013863db96d6dc42db94dcb6cbb16 (patch) | |
| tree | 3f54d435f34a4f82edafcdb8e3e3798e182dc280 | |
| parent | 23e15f39ac8b7c106f70a921fcaa95f60c65162a (diff) | |
Intermediate changes
| -rw-r--r-- | library/python/func/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/python/func/__init__.py b/library/python/func/__init__.py index 15f2137f1de..5eda75267aa 100644 --- a/library/python/func/__init__.py +++ b/library/python/func/__init__.py @@ -25,7 +25,7 @@ def lazy(func): lock = threading.Lock() @functools.wraps(func) - def wrapper(*args): + def wrapper(*args, **kwargs): try: return result.result except AttributeError: @@ -33,7 +33,7 @@ def lazy(func): try: return result.result except AttributeError: - result.result = func(*args) + result.result = func(*args, **kwargs) return result.result |
