Skip to content

Commit 8403aba

Browse files
author
Adam Hrbac
committed
Remove a superfluous @cached
1 parent 59c1d9b commit 8403aba

File tree

1 file changed

+1
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/contextvars

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/contextvars/ContextBuiltins.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ boolean doIn(PContextVarsContext self, Object key) {
137137
}
138138
}
139139

140-
private static Object getContextVar(PContextVarsContext self, Object key, Object def,
141-
@Cached PRaiseNode raise) {
140+
private static Object getContextVar(PContextVarsContext self, Object key, Object def, PRaiseNode raise) {
142141
if (key instanceof PContextVar) {
143142
PContextVar ctxVar = (PContextVar) key;
144143
Object value = self.contextVarValues.lookup(key, ctxVar.getHash());

0 commit comments

Comments
 (0)