Skip to content

Commit d7a4c1f

Browse files
committed
minor - use getCore() instead of getContext().getCore()
1 parent 971f297 commit d7a4c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/cext/PythonCextSysBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public Object writeStr(VirtualFrame frame, String name,
7979
@Cached PyObjectLookupAttr lookupNode,
8080
@Cached GetNativeNullNode getNativeNull) {
8181
try {
82-
Object value = lookupNode.execute(frame, getContext().getCore().lookupBuiltinModule("sys"), name);
82+
Object value = lookupNode.execute(frame, getCore().lookupBuiltinModule("sys"), name);
8383
if (value == PNone.NO_VALUE) {
8484
return getNativeNull.execute();
8585
}

0 commit comments

Comments
 (0)