mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 07:41:51 +08:00
fix cache memoization
This commit is contained in:
@@ -28,7 +28,7 @@ def memoize_default(default, evaluator_is_first_arg=False, second_arg_is_evaluat
|
||||
memo = {}
|
||||
cache[function] = memo
|
||||
|
||||
key = (args, frozenset(kwargs.items()))
|
||||
key = (obj, args, frozenset(kwargs.items()))
|
||||
if key in memo:
|
||||
return memo[key]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user